Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
courses
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
R3
school
courses
Commits
3de9616b
Commit
3de9616b
authored
2 years ago
by
Vilem Ded
Browse files
Options
Downloads
Patches
Plain Diff
update best practices - remove cmd related stuff
parent
77999692
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!129
[release] Regular merge of develop
,
!121
git part 1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
2022/2022-05-31_git-triology-part-1/slides/best_practices.md
+4
-4
4 additions, 4 deletions
2022/2022-05-31_git-triology-part-1/slides/best_practices.md
with
4 additions
and
4 deletions
2022/2022-05-31_git-triology-part-1/slides/best_practices.md
+
4
−
4
View file @
3de9616b
...
...
@@ -38,9 +38,9 @@
## Best practices
*
Work on your
<font
color=
"red"
>
own
</font>
branch (in your own fork), and
**not**
on
`master`
and
**not**
on
`develop`
*
Do
**not commit**
to
`master`
/
`develop`
, but
**submit a
Pull
Request (PR)**
*
Get your code
**reviewed**
by your peers (submit a
PR
!)
*
Submit a
PR
**often**
! (as soon as the feature is ready)
*
Commit
**only a few files**
at once (after multiple separate
`git add`
commands
)
*
Do
**not commit**
to
`master`
/
`develop`
, but
**submit a
merge
Request (PR)**
*
Get your code
**reviewed**
by your peers (submit a
merge request
!)
*
Submit a
merge request
**often**
! (as soon as the feature is ready)
*
Make commits often (keeps increments small
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment