I am currently using the Windows Github GUI and its pretty cool looking and easy so I'm trying to use it as often. A problem I encountered is when I fork a project I don't know how to update that fork with the git
To sync your forked repo with the parent or central repo on GitHub you: Create a pull request on GitHub.com to update your fork of the repository from the original repository, and. Run the git pull command in the terminal to update your local clone.
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.
Tip: Syncing your fork only updates your local copy of the repository. To update your fork on GitHub.com, you must push your changes.
Before you can sync, you need to add a remote that points to the upstream repository. You may have done this when you originally forked. Tip: Syncing your fork only updates your local copy of the repository; it does not update your repository on GitHub.
And just for reference I copy here the detailed instructions from a post at http://processwire.com/talk/topic/1565-github-for-windows/:
open a shell here
"# Assigns the original repo to a remote called "upstream" git remote add upstream https://github.com/path_to_your_repository.git # Pulls in changes from the original repo not present in your local repository, # without modifying your files. # Allows you to review first. git fetch upstream # merge fetched changes into your working files. git merge upstream/master
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