starkej2
9/7/2017 - 9:43 PM

How to move to a fork after cloning

How to move to a fork after cloning

  1. Fork their repo on Github
  2. In your local, rename your origin remote to upstream
git remote rename origin upstream
  1. Add a new origin
git remote add origin git@github...my-fork
  1. Fetch & push
git fetch origin
git push origin