Skip to content

Commit

Permalink
Reword the Git Hints a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Friedrich committed Jun 27, 2019
1 parent 6903b48 commit fbcc0c1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions day2/05_Git_Hints/01_Intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
!SLIDE smbullets
# Best Practices

* Ensure to set user configuration (name, email)
* Set user configuration (name, email)
* Always keep good commits in mind
* Do not commit all changes at once
* Work with branches if applicable
* Avoid merge commits, fetch and rebase your history
* Do not commit all changes at once - use staging with `git add` and then `git commit`

* Work with branches (features, bugfixes, etc.) whenever possible
* Rebase branches against master prior to merging a merge request
* Always force a merge commit with `--no-ff` to keep history trees in graphs

~~~SECTION:handouts~~~
Expand Down

0 comments on commit fbcc0c1

Please sign in to comment.