小编use*_*561的帖子

git pull上的Git错误(无法更新本地引用)

我只有分支主人,我每次尝试"git pull"时都会收到此错误:

error: Couldn't set refs/remotes/origin/master
From /var/lib/git/xxx/project
 ! a0f80ea..49177a3  master     -> origin/master  (unable to update local ref)
Run Code Online (Sandbox Code Playgroud)

当我做"git pull origin master"时,我得到:

error: Couldn't set ORIG_HEAD
fatal: Cannot update the ref 'ORIG_HEAD'.
Run Code Online (Sandbox Code Playgroud)

我一直在寻找,但无法找到原因

git command-line-interface

79
推荐指数
14
解决办法
7万
查看次数

标签 统计

command-line-interface ×1

git ×1