Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save erycamel/2ecb84b38033ab7f065d12c5a7bc7075 to your computer and use it in GitHub Desktop.
Save erycamel/2ecb84b38033ab7f065d12c5a7bc7075 to your computer and use it in GitHub Desktop.
Here’s how to update your fork directly from GitHub (as shown in the video above):
1 Open your fork repository on GitHub.
2 Click on Pull Requests.
3 Click on New Pull Request. By default, GitHub will compare the original with your fork, and there shouldn’t be nothing to compare if you didn’t make any changes.
4 Click on switching the base (if no changes were made in the fork) or click Edit and switch the base manually. Now GitHub will compare your fork with the original, and you should see all the latest changes.
5 Click on Create to create a pull request for this comparison and assign a predictable name to your pull request (e.g., Update from original).
6 Click on Send pull request.
7 Scroll down and click Merge pull request and finally Confirm merge (If your fork didn’t have any changes, you will be able to merge it automatically).
http://www.hpique.com/2013/09/updating-a-fork-directly-from-github/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment