Explore >> Select a destination


You are here

conradresearch.com
| | rick.cogley.info
1.7 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?
| | wittchen.io
2.0 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:
| | blog.keikooda.net
2.0 parsecs away

Travel
| | This post is super outdated
| | www.erikschierboom.com
14.5 parsecs away

Travel
| Introduction When using git, local branches can track remote branches that no longer exist (the remote branch is gone). To identify these branches, we first have to cleanup (prune) the remote's branches: $ git fetch -p From https://test.com - [deleted] (none) -> origin/disable-feature-x - [deleted] (none) -> origin/fix-typo - [deleted] (none) -> origin/grammar-fix In this case, three remote branches were deleted. Let's see if we have local branches that are tracking deleted branches: