git clone 转为 fork
Opened this issue · 1 comments
nmsn commented
如题
nmsn commented
https://gist.github.com/jagregory/710671
-
Fork their repo on Github
-
In your local, rename your origin remote to upstream
git remote rename origin upstream
-
Add a new origin
git remote add origin git@github...my-fork
-
Fetch & push
git fetch origin
git push origin