I have a problem with deleting git branch. At first I was able to create it using 'git checkout -b ....'. But it seems to me, that I made a mistake while writing, hit something wrong, then backspace. It resulted in wrong name of this branch.
I was able to work on this branch, even push it to remote, but it makes weird behavior (cannot see branches in web interface).
git branch -r shows me
origin/master origin/rrseria_test_utility In web interface (bitbucket) I can see this branch in commits with following name
rrseriaÅl_test_utility Pleasse note that capital A is not just A, but A with circle above. Seems like utf-8 character 'U+00C5'.
When I try to remove it, then
git branch -d rrseria_test_utility error: branch 'rrseria_test_utility' not found. git checkout rrseria_test_utility error: pathspec 'rrseria_test_utility' did not match any file(s) known to git. Can you help me how to delete this branch ?
git branch -d rrseriaand useTABfor auto completion? Or Copy/Paste the Å character? Or you can just delete the branches' directory in your.git/refs/heads/directory .