eolas/neuron/7aecd932-b02d-45ea-9d19-2a719b326be7/Rename_a_branch.md
2024-12-01 19:45:56 +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>
```