1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 14:02:08 +02:00
tldr/pages/common/git-delete-branch.md
2021-05-27 07:26:25 -04:00

13 lines
442 B
Markdown

# 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/master/Commands.md#git-delete-branch>.
- Delete a local and remote Git branch:
`git delete-branch {{branch_name}}`
- Delete multiple local and remote Git branches:
`git delete-branch {{branch_name1 branch_name2 ...}}`