eolas/neuron/78bb25d9-ca3c-4cbb-a2c4-e9c73950d1ca/Rename_a_branch.md
2024-11-11 15:47:11 +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>
```