Changes between Version 6 and Version 7 of Developer/Git/Committers
- Timestamp:
- 03/01/12 20:49:52 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Developer/Git/Committers
v6 v7 86 86 # git merge upstream/master 87 87 }}} 88 This is the same as a git pull. When you have committed changes on a branch that is private (hasn't been pushed to your personal repo) then you can use rebase to obtain a linear history.88 This is the same as a ''git pull''. When you have committed changes on a branch that is private (hasn't been pushed to your personal repo) then you can use rebase to obtain a linear history and avoid merge commit messages. 89 89 {{{ 90 90 # git checkout new_features … … 92 92 # git rebase upstream/master 93 93 }}} 94 When you have committed changes on a branch that is public you should not rebase that branch. TODO: what to do... 94 This is the same as a ''git pull -rebase''. 95 96 When you have committed changes on a branch that is public/shared with another developer you should not rebase that branch. TODO: what to do... 95 97 = GIT Push Configuration = 96 98