mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
15 lines
458 B
Plaintext
15 lines
458 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# git delete-branch
|
|
|
|
> Delete local and remote Git branches.
|
|
> Part of `git-extras`. If deleting the checked out branch, only the remote branch will be deleted.
|
|
> More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-delete-branch>.
|
|
|
|
- Delete one or more local and remote Git branches:
|
|
|
|
`git delete-branch {{branch_name1 branch_name2 ...}}`
|