eolas/neuron/9445c5fd-135c-4b0b-a70c-7a6fd45d9d58/Rename_a_branch.md
2025-04-05 10:32:40 +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>
```