Skip to content

Home

Delete a remote branch

Deletes a remote branch.

git push -d <remote> <branch>

# Examples
git checkout master
git push -d origin patch-1 # Deletes the `patch-1` remote branch

More like this

Start typing a keyphrase to see matching snippets.