eolas/neuron/2abd5c63-27cc-420e-b0df-76bdd7f8acb1/Rename_a_branch.md
2025-03-26 17:50:46 +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>
```