In my case I was trying to delete entries that were saved in .git/packed-refs
. You can edit this plain text file and delete entries from it that git br -D
doesn't know how to touch (At least in ver 1.7.9.5).
I found this solution here: https://stackoverflow.com/a/11050880/1695680