Git无法更新本地参考 [英] Git unable to update local ref

查看:100
本文介绍了Git无法更新本地参考的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到tfs 2017后,我们发现错误如下:


> git pull


错误:无法锁定ref 'refs / remotes / origin / ..   :ref refs / remotes / origin / ..    at 46364 ...


来自http:// tfs:8080 / tfs /../../_ git / Web


!6094359。 ..        features / 100 / ..    - > origin / features / 100 / ...  (无法更新本地参考)


* [新分支]    features / 101 / ... - > origin / features / 101 /




有任何想法吗?

解决方案

您好,


您是否对所有存储库都收到相同的错误?如果您克隆到新的本地存储库,结果会是什么?


尝试清除TFS缓存。 (C:\ Users \ [用户名] \ AppData \本地\微软\团队基金会)


问候


Starain


After the upgrade to tfs 2017, we are seeing errors that go something like this:

> git pull

error: cannot lock ref  'refs/remotes/origin/..    : ref refs/remotes/origin/..     at 46364...

From http://tfs:8080/tfs/../../_git/Web

!6094359...        features/100/..    -> origin /features/100/...   (unable to update local ref)

*[new branch]    features/101/... -> origin/features/101/

Any ideas?

解决方案

Hi,

Do you get the same error for all repository? What’s the result if you clone to a new local repository?

Try to clear TFS cache. (C:\Users\[username]\AppData\Local\Microsoft\Team Foundation)

Regards

Starain


这篇关于Git无法更新本地参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆