eolas/neuron/0368f5e0-e5f8-46f2-9cd3-c028c04a15d1/Rename_a_branch.md
2024-10-25 13:28:55 +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>
```