Changes between Version 16 and Version 17 of UsingGitHub
- Timestamp:
- Mar 16, 2012, 5:49:27 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsingGitHub
v16 v17 22 22 23 23 1. One-time setup: `$ git remote add upstream git://github.com/WebKit/webkit.git` 24 1. Switch to master branch if necessary: `$ git checkout master` 24 25 1. `$ git fetch upstream` 25 26 1. `$ git merge upstream/master` … … 27 28 28 29 If you never modify your local master branch, merging upstream/master will always be a fast-forward merge (i.e., no merge conflicts). You can then merge these new commits into your in-flight feature branches as you normally would with git. 30 31 == Rebase from master == 32 33 1. Make sure all commits are complete on your awesomefeature branch. 34 1. `$ git checkout master` 35 1. `$ git pull upstream master` 36 1. `$ git checkout awesomefeature` 37 1. `$ git rebase master` 38 1. Fix merge conflicts through the rebase as you normally would with git. 29 39 30 40 == Getting your code reviewed ==