Skip to content

Home

Delete a branch

Deletes a local branch.

git branch -d <branch>

# Examples
git checkout master
git branch -d patch-1 # Deletes the `patch-1` local branch

More like this

Start typing a keyphrase to see matching snippets.