When I tried to checkout test/hotfix
branch from test
branch:
git checkout -b test/hotfix
shows error:
fatal: cannot lock ref "refs/heads test/hotfix refs/heads/test' exists;cannot create refs/heads/test/hotfix
I have checked the local branch like this:
-> git branch
develop
develop_zxg
feature/jxq_order
jiangxiaoqiang/order
master
test
there is no test/hotfix
branch. I also have tried this command:
git update-ref -d refs/heads/origin/branch
still did not fixed this issue. does anyone facing the same issue?