eolas/neuron/3962ef80-32e3-49b8-8e16-d14a26e9787a/Rename_a_branch.md
2024-10-22 16:47:58 +01: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>
```