How do I change which GitHub project I forked from?
问题 I forked a project, made some changes, and got a pull request accepted. But now, the project I forked moved to another repository and is a fork of that repository. That is: Original -> MyFork Now: NewOriginal -> Original -> MyFork How would I get it to the following? NewOriginal -> MyFork 回答1: Locally you can just change the target of the original repository is located at. Usually that repository is called upstream , so you would do this: git remote set-url upstream git://example.com