I forked a repository, made some changes, submitted a pull request, and had my changes accepted. Now several months later my branch doesn't have any of the changes other contributors have made.
I've found this info: How do I update a GitHub forked repository?
Which was somewhat useful, but I'm using TortoiseGIT, not the command line GIT. So these instructions don't work for me. How would I manage this with TortoiseGIT?
Charles.
Syncing a fork branch from the web UI On GitHub, navigate to the main page of the forked repository that you want to sync with the upstream repository. Select the Sync fork dropdown. Review the details about the commits from the upstream repository, then click Update branch.
Go to your GitHub account, under your forked repository. Click the compare and pull request button. And you are done. Wait for your content to be reviewed, make changes where necessary and your pull request will be merged to the team project.
Go to your fork, click on Fetch upstream , and then click on Fetch and merge to directly sync your fork with its parent repo. You may also click on the Compare button to compare the changes before merging.
Since your branch has been accepted and merge into the original repo, you don't need it anymore.
You can simply update your local master to reflect the original repo master branch, by pulling it.
See "Can I update a forked project, on git, to the original/master copy?", for TortoiseGit instruction.
The TortoiseGit pull
dialog box will allow you to chose the remote repo from which you want to pull.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With