eolas/neuron/4e98d18e-1a79-4e78-a4ac-f7e3a2de9887/Rename_a_branch.md
2024-10-21 23:11:48 +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>
```