DEV Community

Discussion on: "How do I do a Pull Request again?" - the extremely short version

Collapse
 
bjauny profile image
Bastien JAUNY

I found myself needing the "How to keep updated with the mainstream repo" too:

  1. git checkout master
  2. git remote add upstream <original_repo>
  3. git fetch upstream
  4. git merge upstream master
  5. git push

Your forked repo is now synchronized with the upstream!