Skip to content

Instantly share code, notes, and snippets.

@jtryan
Created November 25, 2015 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jtryan/14401905d780de563c35 to your computer and use it in GitHub Desktop.
Save jtryan/14401905d780de563c35 to your computer and use it in GitHub Desktop.
Update fork directly on Github.com

http://www.hpique.com/2013/09/updating-a-fork-directly-from-github/

Here’s how to update your fork directly from GitHub (as shown in the video above):

  1. Open your fork 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 anything 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 Click 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment