Changes between Version 12 and Version 13 of Developer/Git/Committers
- Timestamp:
- 03/30/12 03:12:31 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Developer/Git/Committers
v12 v13 82 82 == Update from upstream master (RTEMS head) == 83 83 84 When you have '''no changes''' in your local master branch, use 85 {{{ 86 # git fetch upstream 87 # git checkout master 88 # git merge upstream/master 89 }}} 90 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. 84 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. 91 85 {{{ 92 86 # git checkout new_features 93 # git fetch upstream 94 # git rebase upstream/master 87 # git pull --rebase upstream master 95 88 }}} 96 This is the same as a ''git pull -rebase''.97 89 98 90 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...