20 lines
193 B
Markdown
20 lines
193 B
Markdown
![]() |
---
|
||
|
categories:
|
||
|
- DevOps
|
||
|
tags: [git]
|
||
|
---
|
||
|
|
||
|
# Delete a branch
|
||
|
|
||
|
### Locally
|
||
|
|
||
|
```bash
|
||
|
git branch -d <local_branch_name>
|
||
|
```
|
||
|
|
||
|
### Remote
|
||
|
|
||
|
```bash
|
||
|
git push origin --delete <remote_branch_name>
|
||
|
```
|