Answers for "change remote origin to fork"

0

change remote origin to fork

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 [email protected]

4. Fetch & push

    git fetch origin
    git push origin
Posted by: Guest on August-30-2021

Code answers related to "change remote origin to fork"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language