git удалить ошибку ветви не найдена

// when branch not delete from local
rm .git/refs/heads/localbranch
Comfortable Corncrake