0

I have an old branch presence on git branch list, but I do not able to remove it using:

git branch -D hotfix/my_old_branch

error: branch 'hotfix/my_old_branch' not found.

Trying to git push origin :hotfix/my_old_branch

error: unable to delete 'hotfix/my_old_branch': remote ref does not exist

Any idea?

EDIT:

git branch ... the branch appears on list

$ git branch      
* Dev
  Pro
  Test
  hotfix/my_old_branch
  master

git branch -D hotfix/my_old_branch ...

error: branch 'hotfix/my_old_branch' not found.

doxsi
  • 1,002
  • 19
  • 42

0 Answers0