Created
April 5, 2020 20:19
-
-
Save kylos101/fd769a8892b2fb2c8d635ff9becdae96 to your computer and use it in GitHub Desktop.
Update a fork
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
# Assumes you have a remote defined as upstream like this... | |
# git remote add upstream https://github.com/org/source-of-your-fork.git | |
# Update your fork... | |
git checkout master && git fetch upstream && git rebase upstream/master && git push origin master --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment