I want to delete a local branch in Git but this failed:
git branch -d
If you edit your branch & want to delete it without merging it to your master branch, you have to force delete it with the option -D instead of -d.
-D
-d
git branch -D