How to quickly track a branch after a pull request on Github

Not sure if this is the place to ask questions about Github.

I unlocked the public repo and added two commits to it, and then sent the original author a request for a transfer request. The author has completed the request, and now I would like to speed up my own repo in the HEAD copyright repo. All my new commits are now in the authoring repo, so there are no side tracking (what is the name for this bit? I thought it was a fork, but it was weird considering how Github refers to the forks.).

Thank!

+5
source share
1 answer

As described in the GitHub help page for fork , the best policy here is this:

  • (, pull)

, , , , :

$ git fetch upstream
$ git merge upstream/master

, , reset master upstream/master, .

, :

  • remote 'origin'
  • remote 'upstream' , . .
+5

All Articles