Rename local git branch
Renames a local git branch while keeping the name of the upstream branch unchanged.
Authored by: sirideoldname
newname
Command
Copy
git branch -m oldname newname
Tags
Edit in GitHub
Copied
Renames a local git branch while keeping the name of the upstream branch unchanged.
Authored by: siridegit branch -m oldname newname