git branch -d <branch>
to delete the specified local <branch>
.git branch -d <branch>
git checkout master git branch -d patch-1 # Deletes the `patch-1` local branch
Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️