supereagle / experiences

Summary of practical experience in work.
2 stars 0 forks source link

How to quickly switch between your forked repo and upstream repo #41

Open supereagle opened 7 years ago

supereagle commented 7 years ago

Solutions

  1. Git clone upstream repo
  2. Change the URL of remote origin to your forked repo address in .git/config
  3. Add the upstream repo into remote
  4. Fetch both the upstream and your forked repos

References