Skip to content

Instantly share code, notes, and snippets.

@chlp
Last active April 9, 2019 12:39
Show Gist options
  • Save chlp/216aebc2e30171f65ccf04b26dc9c3a1 to your computer and use it in GitHub Desktop.
Save chlp/216aebc2e30171f65ccf04b26dc9c3a1 to your computer and use it in GitHub Desktop.
git rename origin
git checkout old_name
git branch -m new_name
git push origin -d old_name
git push -u origin new_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment