Answers for "switch git branch name"

1

change branch name git local

// If you are in a different branch:
git branch -m old-name new-name

// If you are in the same branch:
git branch -m new-name
Posted by: Guest on April-13-2022

Code answers related to "switch git branch name"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language