Delete local and remote git branch

Deletes a branch both locally and remotely. The first command deletes the remote branch, whereas the second command deletes the command locally.

Authored by: Matthew Rankin
Brought to you by Warp, a free terminal reimagined to work like a modern app.
remote_name
branch_name

Command
Copy
git push -d remote_name branch_name git branch -d branch_name
Tags