Skip to content

Instantly share code, notes, and snippets.

@iamitshri
Last active May 19, 2019 19:39
Show Gist options
  • Save iamitshri/e56775687914ada4cfaed493e344a8d7 to your computer and use it in GitHub Desktop.
Save iamitshri/e56775687914ada4cfaed493e344a8d7 to your computer and use it in GitHub Desktop.
Git branch rename
git branch -m new-name
git push origin :develop.rdb new-name
Reference: https://multiplestates.wordpress.com/2015/02/05/rename-a-local-and-remote-branch-in-git/
check the documentation git branch --help
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment