eolas/neuron/ece17b21-4a01-41a2-ae84-09e40ec6dfab/Rename_a_branch.md
2024-12-01 19:39:45 +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>
```