Branches are stored as files containing the SHA they point to. Try deleting the file for this branch, named localbranch
, from the .git/refs/head/
directory within your project:
rm .git/refs/heads/localbranch
Branches are stored as files containing the SHA they point to. Try deleting the file for this branch, named localbranch
, from the .git/refs/head/
directory within your project:
rm .git/refs/heads/localbranch