Created
October 28, 2015 19:00
-
-
Save mondain/458b936ccdcd61e6ea20 to your computer and use it in GitHub Desktop.
Keeping your fork insync with a remote
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
Add the remote repo as "upstream" | |
git remote add upstream [email protected]:red5/red5-server.git | |
Get the remote repo | |
git fetch upstream | |
Ensure you're on your fork's master branch | |
git checkout master | |
Rebase with the remote master | |
git rebase upstream/master | |
Very first push of work on your fork may require -f | |
git push -f origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment