eolas/zk/Delete_a_branch.md

20 lines
193 B
Markdown
Raw Normal View History

2022-12-09 08:30:05 +00:00
---
categories:
- DevOps
tags: [git]
---
# Delete a branch
### Locally
```bash
git branch -d <local_branch_name>
```
### Remote
```bash
git push origin --delete <remote_branch_name>
```