Last active
December 14, 2015 00:48
-
-
Save lardcanoe/5001150 to your computer and use it in GitHub Desktop.
Reset forked repo to match original (upstream) for a pull request http://scribu.net/blog/resetting-your-github-fork.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/lardcanoe/repo.git | |
cd repo | |
git remote add upstream https://github.com/repo/repo.git | |
git pull --rebase upstream | |
git pull --rebase upstream devel | |
git checkout -b repo_branch origin | |
git add new_file | |
git commit | |
git push origin repo_branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment