Skip to content

Instantly share code, notes, and snippets.

@Saissaken
Last active November 12, 2024 02:24
Show Gist options
  • Save Saissaken/b555f2c0772bee56601f70df501b6c96 to your computer and use it in GitHub Desktop.
Save Saissaken/b555f2c0772bee56601f70df501b6c96 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
@dmchandru
Copy link

Thank you!

@rebcabin
Copy link

another "thank you." cleaned up what I thought was a hopeless loss.

@Skyb0rg
Copy link

Skyb0rg commented Oct 8, 2023

Works perfectly .... thank you !!!

@henryrobbins
Copy link

+1 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment