问题
Is there a best practice for this? I was thinking either to
Create a repo, add original repo as upstream remote
Create a "mirror" repo, then fork that
Create a "mirror" repo, then create a "topic branch"
Something else
related: help.github.com/send-pull-requests
回答1:
This is what I ended up doing:
Create new repo on GitHub
Clone the new repo
git clone git@github.com:svnpenn/spoon-knife.gitAdd source code from original repo
cd Spoon-Knife git remote add upstream git://spoon.com/knife.git git fetch upstream git merge upstream/masterPush original source code to new repo
git push origin masterAt this point you can start committing your own source code!
source: help.github.com/fork-a-repo
来源:https://stackoverflow.com/questions/9268849/how-to-fork-a-non-github-repo-on-github