Skip to content

Instantly share code, notes, and snippets.

@crispgm
Created June 4, 2016 14:08
Show Gist options
  • Save crispgm/9a252f91119eff419b9e9a14c1777ae0 to your computer and use it in GitHub Desktop.
Save crispgm/9a252f91119eff419b9e9a14c1777ae0 to your computer and use it in GitHub Desktop.
When you rename a project on GitHub

show the upstreams

git remote -v

remove origin

git remote remove origin

add new origin

git remote add origin https://github.com/crispgm/crispgm.com.git

push

git push --set-upstream origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment