相关疑难解决方法(0)

git pull失败"无法解析引用""无法更新本地引用"

使用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)
Run Code Online (Sandbox Code Playgroud)

我试过git remote prune origin,但没有用.

git git-pull

552
推荐指数
18
解决办法
34万
查看次数

Git拉错误"无法更新本地参考"如何解决这个问题?

这是错误消息:

 error: cannot lock ref 'refs/remotes/origin/master': unable to resolve reference 'refs/remotes/origin/master': reference broken
    From https://bitbucket.org/abc/abc
     ! [new branch]        master     -> origin/master  (unable to update local ref)
Run Code Online (Sandbox Code Playgroud)

当我试图拉,然后它显示"完成有错误,见上文",我忘了我之前做了什么,所以它导致这个错误出现后我拉请求.我该怎么办 ?

git atlassian-sourcetree

6
推荐指数
1
解决办法
7265
查看次数

标签 统计

git ×2

atlassian-sourcetree ×1

git-pull ×1