【发布时间】:2011-03-01 05:47:31
【问题描述】:
使用 git 1.6.4.2,当我尝试 git pull 时,我收到此错误:
error: unable to resolve reference refs/remotes/origin/LT558-optimize-sql: No such file or directory
From git+ssh://remoteserver/~/misk5
! [new branch] LT558-optimize-sql -> origin/LT558-optimize-sql (unable to update local ref)
error: unable to resolve reference refs/remotes/origin/split-css: No such file or directory
! [new branch] split-css -> origin/split-css (unable to update local ref)
我试过git remote prune origin,但没有用。
【问题讨论】:
-
您可以手动删除以下位置的
master文件:PROJECT\.git\refs\remotes\origin\master