Skip to content

Instantly share code, notes, and snippets.

@Geri-Borbas
Created August 15, 2018 07:52
Show Gist options
  • Select an option

  • Save Geri-Borbas/3b8cfbdf3cca216bfb5768b041d1a862 to your computer and use it in GitHub Desktop.

Select an option

Save Geri-Borbas/3b8cfbdf3cca216bfb5768b041d1a862 to your computer and use it in GitHub Desktop.
Rename branch local and remote.
git branch -m OLD_NAME NEW_NAME
git push origin :OLD_NAME NEW_NAME
git push --set-upstream origin NEW_NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment