Skip to content

Instantly share code, notes, and snippets.

@Adobels
Created September 28, 2020 09:28
Show Gist options
  • Save Adobels/f8792ebaf7a99f142114a369720d9035 to your computer and use it in GitHub Desktop.
Save Adobels/f8792ebaf7a99f142114a369720d9035 to your computer and use it in GitHub Desktop.
Update git fork with tags
# Repo: someuser/myframework
# Fork: superteam/myframework
# Track:
git clone https://github.com/superteam/myframework.git
cd myframework
git remote add upstream https://github.com/someuser/myframework.git
# Update:
git fetch upstream
git rebase upstream/master
git push
git push --tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment