eolas/neuron/4407095f-9800-43a5-8792-d0d4d2a9d365/Rename_a_branch.md
2024-10-21 00:00:03 +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>
```