Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 2
    This updates my local fork, but my fork on Github.com still says "43 commits behind". I had to use lobzik's technique to create a pull request for myself to merge the master changes into my Github.com fork. Commented Jan 23, 2015 at 17:38
  • 19
    @MichaelMcGinnis After merging locally, you would have to push your changes to github. git push origin master
    – jumpnett
    Commented Feb 11, 2015 at 22:50
  • 1
    Might be smart to push with --follow-tags: stackoverflow.com/a/26438076/667847
    – kenny
    Commented Nov 6, 2015 at 15:19
  • 1
    I have to do it for all branches separately git merge upstream/master, then check out to develop branch and do git merge upstream/develop
    – Shobi
    Commented May 28, 2017 at 13:02
  • stackoverflow.com/a/14074925/470749 was helpful to me because I was getting Permission denied (publickey). fatal: Could not read from remote repository. when trying to fetch from Facebook's Github account upstream.
    – Ryan
    Commented Jan 26, 2018 at 4:28