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