When this happened, it created the file .git/refs/heads/origin/branch-name. So, I just deleted the file:

1 $ rm .git/refs/heads/origin/branch-name

  

相关文章: