原文:Git添加本地项目出现fatal: unable to get credential storage lock: File exists

把本地项目初始化之后上传到github上出现问题:fatal: unable to get credential storage lock: File exists 解决办法:是因为我上传用的git帐号和我把github建项目的帐号不一致导致的 ...

2017-07-20 16:04 0 3734 推荐指数:

查看详情

fatal: Unable to create 'D:/learngit/.git/index.lock': File exists.的解决方法

今天在学习git的时候,发现在执行git commit -m "add distributed"的时候,报了个错。 这个应该是因为 git操作的时候修改了一些文件导致的操作冲突被锁住了 所以我的解决方法是 rm -f /.git/index.lock' 删掉该文件 再运行就好了 ...

Tue Apr 16 16:19:00 CST 2019 0 1319
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM