eolas/zk/Rename_a_branch.md

18 lines
192 B
Markdown
Raw Permalink Normal View History

2022-12-09 08:30:05 +00:00
---
2023-04-06 14:30:22 +01:00
tags: [git, procedural]
2022-12-09 08:30:05 +00:00
---
# Rename a branch
### In local development
```bash
git branch -m <old_name> <new_name>
```
### Update the remote
```bash
git push origin -u <new_name>
```