Not sure if this is the place to ask questions about Github.
I have forked a public repo and added two commits to it, then sent to the original author asking for a pull request. The author have complied with the request and now I’d wish to fast track my own repo to the HEAD of the author’s repo. All of my new commits are in the author’s repo now, so there aren’t any side-tracked commits (what’s the proper name for this btw? I thought it was fork but that sounded weird considering how Github refer to forks.).
Thanks!
As described in the GitHub help page for fork, the best policy here is to:
Pull in upstream changes
Or you could, after the fetch, reset your
masterbranch toupstream/master, in order to have the exact same history.So, when you fork a repo, and clone that forked repo to your workstation: