Skip to content

Instantly share code, notes, and snippets.

@americanstone
Last active November 22, 2021 23:16
Show Gist options
  • Save americanstone/5c42416011ae64b7df340d080c521d67 to your computer and use it in GitHub Desktop.
Save americanstone/5c42416011ae64b7df340d080c521d67 to your computer and use it in GitHub Desktop.
copy a repro & make code change & push to different repro
clone the project
git remote rename origin upstream
git remote add origin <your own project>
use git desktop push upstream
`upstream` for fetch & pull
`origin` for push
git remote -v
origin https://github.com/americanstone/2021-cs252.git (fetch)
origin https://github.com/americanstone/2021-cs252.git (push)
upstream [email protected]:douglascraigschmidt/CS253.git (fetch)
upstream [email protected]:douglascraigschmidt/CS253.git (push)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment