training:everyday_git_usage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
training:everyday_git_usage [2016/09/21 20:03]
kluong [Notes]
training:everyday_git_usage [2021/09/19 21:59] (current)
Line 55: Line 55:
 [1] We use rebasing to keep the history linear and clean. By doing this, we can make sure that every commit is well documented; this also has the added advantage of making code reviews easier as well. [1] We use rebasing to keep the history linear and clean. By doing this, we can make sure that every commit is well documented; this also has the added advantage of making code reviews easier as well.
  
 +[2] Branching, especially if you're only working on a one or two person team, is not really necessary. As long as you manually communicate with everyone then it's fine. However, on bigger teams you often will need branches to keep things organized and to do proper code reviews.
  
 +[3] //Pull requests//, a github specific term, give us a mechanism that allows us to easily review code. Other systems (such as Gerrit Code review) also impose different workflows on top of git.
 +
 +===== Further Reading =====
 +
 +[[ https://​git-scm.com/​book/​en/​v2/​Getting-Started-Git-Basics | Git Basics ]] provides a fantastic technical explanation of how git works in the back.
  
  • training/everyday_git_usage.1474488191.txt.gz
  • Last modified: 2021/09/19 21:59
  • (external edit)