/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

lirantal.com
| | javier.io
1.1 parsecs away

Travel
| | how to keep your Git-Fork up to date
| | wittchen.io
1.1 parsecs away

Travel
| | When you fork GitHub repository, you usually want to have your fork up to date with the original repository. You can update your fork in a few easy steps. Just look at the following example of the Git commands: Add the remote, call it upstream: git remote add upstream https://github.com/whoever/whatever.git Fetch all the branches of that remote into remote-tracking branches, such as upstream/master: git fetch upstream Make sure that you're on your master branch:
| | rick.cogley.info
1.1 parsecs away

Travel
| | It's possible to update a forked git repository using the Terminal or one of the many good GUIs for git, but did you know Github gives you a way to update a fork directly in its web interface?
| | sookocheff.com
2.3 parsecs away

Travel
| This is something I often do but rarely remember the steps for. This post is intended to serve as a reminder for me and anyone else having the same question: how to add an upstream remote git repository. Start by forking the repository you are contributing to and cloning that repository to your local file system. In this example, we will use the Elasticsearch repository and assume you have cloned it locally.