eolas/neuron/a04df86f-a05c-47a7-b4e9-17284e6b14a3/Rename_a_branch.md
2024-12-20 11:32:54 +00:00

17 lines
192 B
Markdown

---
tags: [git, procedural]
---
# Rename a branch
### In local development
```bash
git branch -m <old_name> <new_name>
```
### Update the remote
```bash
git push origin -u <new_name>
```