📜  将远程源更改为 fork - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:22.638000             🧑  作者: Mango

代码示例1
1. Fork their repo on Github
2. In your local, rename your origin remote to upstream

    git remote rename origin upstream

3. Add a new origin

    git remote add origin git@github...my-fork

4. Fetch & push

    git fetch origin
    git push origin