JavaShuo
栏目
标签
使用Sourcetree进行Git操作时失败提示:Unable to create '../.git/index.lock': File exists.
时间 2020-12-25
标签
problems
经验分享
栏目
Git
繁體版
原文
原文链接
今天使用git时发现无法切换分支,也无法拉取更新代码,报错: fatal: Unable to create ‘…/.git/index.lock’: File exists. 分析原因应该是:我在使用Sourcetree拉取代码时电脑突然重启,导致Git在操作过程中被中断出现错误使得部分资源被上锁但没有被释放。 解决办法: 进入项目文件,使用Git命令rm -f ./.git/index.loc
>>阅读原文<<
相关文章
1.
Unable to create '.git/index.lock': File exists
2.
Git – fatal: Unable to create 'XXX/.git/index.lock’: File exists.的解决办法
3.
git 报错: fatal: Unable to create 'C:/Users/Administrator/learngit/.git/index.lock': File exists. Anot
4.
Git – fatal: Unable to create ‘/.git/index.lock’: File exists错误解决办法
5.
ValueError: Unable to create group (name already exists)
6.
git 解决fatal: Unable to create 'x/.git/index.lock'’
7.
hive插入数据失败FAILED: SemanticException [Error 10293]: Unable to create temp file for insert values File
8.
sourcetree提示ssh密钥认证失败
9.
sourceTree 提示Openssh认证失败
10.
fatal: unable to get credential storage lock: File exists
更多相关文章...
•
Git 基本操作
-
Git 教程
•
SVN 提交操作
-
SVN 教程
•
Git可视化极简易教程 — Git GUI使用方法
•
Composer 安装与使用
相关标签/搜索
unable
sourcetree+git
git+sourcetree
失败
create
exists
提示
eclipse使用git
Git使用
作操
Git
Git 教程
Hibernate教程
Redis教程
Git
应用
Git GUI
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
NLP《词汇表示方法(六)ELMO》
2.
必看!RDS 数据库入门一本通(附网盘链接)
3.
阿里云1C2G虚拟机【99/年】羊毛党集合啦!
4.
10秒钟的Cat 6A网线认证仪_DSX2-5000 CH
5.
074《从零开始学Python网络爬虫》小记
6.
实例12--会动的地图
7.
听荐 | 「谈笑风声」,一次投资圈的尝试
8.
阿里技术官手写800多页PDF总结《精通Java Web整合开发》
9.
设计模式之☞状态模式实战
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
Unable to create '.git/index.lock': File exists
2.
Git – fatal: Unable to create 'XXX/.git/index.lock’: File exists.的解决办法
3.
git 报错: fatal: Unable to create 'C:/Users/Administrator/learngit/.git/index.lock': File exists. Anot
4.
Git – fatal: Unable to create ‘/.git/index.lock’: File exists错误解决办法
5.
ValueError: Unable to create group (name already exists)
6.
git 解决fatal: Unable to create 'x/.git/index.lock'’
7.
hive插入数据失败FAILED: SemanticException [Error 10293]: Unable to create temp file for insert values File
8.
sourcetree提示ssh密钥认证失败
9.
sourceTree 提示Openssh认证失败
10.
fatal: unable to get credential storage lock: File exists
>>更多相关文章<<