eolas/DevOps/Git/Rename_a_branch.md
2023-04-06 14:30:22 +01:00

215 B

categories tags
DevOps
git
procedural

Rename a branch

In local development

git branch -m <old_name> <new_name>

Update the remote

git push origin -u <new_name>