I have bit of a difficulty in deleting a local ref branch(refs/notes/origin/commits).
I was able to delete the branch(refs/notes/origin/commits) in the remote repository using the command
git push origin :refs/notes/origin/commits
but when i try to delete the same branch on my local repository, i get the below error
[User@centos Clone]# git branch -rd refs/notes/origin/commits
error: remote branch 'refs/notes/origin/commits' not found.
Any suggestions?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…