Git – fatal: Unable to create 'XXX/.git/index.lock’: File exists.的解决办法
来源:互联网 发布:推荐游戏的软件 编辑:程序博客网 时间:2024/05/22 04:32
参考资料:
http://sheshui.me/articles/git-quickly-tutorial-20120517
http://stackoverflow.com/questions/9282632/git-index-lock-file-exists-when-i-try-to-commit-but-cannot-delete-the-file
我的说明:
我操作的是ubuntu环境。window远程
1 若在window下远程打开操作窗口(不是console),进入.git目录删除index.lock文件,删除后再commit会自动再次生成index.lock。无法提交。
2 使用putty console下操作,进入.git目录执行 rm -f index.lock 删除index.lock 虽然能删除,但是也是每次都会再生成。无法提交
3 在.git同级目录,执行rm -f .git/index.lock (或者rm -f git/index.lock) 删除后可提交。成功!
http://sheshui.me/articles/git-quickly-tutorial-20120517
http://stackoverflow.com/questions/9282632/git-index-lock-file-exists-when-i-try-to-commit-but-cannot-delete-the-file
我的说明:
我操作的是ubuntu环境。window远程
1 若在window下远程打开操作窗口(不是console),进入.git目录删除index.lock文件,删除后再commit会自动再次生成index.lock。无法提交。
2 使用putty console下操作,进入.git目录执行 rm -f index.lock 删除index.lock 虽然能删除,但是也是每次都会再生成。无法提交
3 在.git同级目录,执行rm -f .git/index.lock (或者rm -f git/index.lock) 删除后可提交。成功!
0 0
- Git – fatal: Unable to create 'XXX/.git/index.lock’: File exists.的解决办法
- Git – fatal: Unable to create 'XXX/.git/index.lock’: File exists.的解决办法
- Git – fatal: Unable to create 'XXX/.git/index.lock’: File exists.的解决办法
- Git – fatal: Unable to create 'XXX/.git/index.lock’: File exists.的解决办法
- Git – fatal: Unable to create 'XXX/.git/index.lock’: File exists.的解决办法
- Git – fatal: Unable to create 'XXX/.git/index.lock’: File exists.的解决办法
- Git – fatal: Unable to create '路径/.git/index.lock’: File exists.的解决办法
- Git – fatal: Unable to create ‘/.git/index.lock’: File exists错误解决办法
- Git出现Unable to create 'E:/xxx/.git/index.lock': File exists.的解决办法
- fatal: Unable to create ‘xxxx/.git/index.lock': File exists.
- FATAL: UNABLE TO CREATE ‘…GIT/INDEX.LOCK’ FILE EXISTS
- fatal: Unable to create '........./.git/index.lock': File exists.
- fatal: Unable to create '.../.git/index.lock': File exists.
- 使用git commit命令时遇到 fatal: Unable to create index.lock File exists 错误的解决办法
- fatal: Unable to create '/.git/index.lock': File exists 的解决方法
- git 提交出现这个错误fatal: Unable to create 'project_path/.git/index.lock': File exists.
- git 操作提示fatal: Unable to create '***/.git/index.lock': File exists.
- git 提交出现fatal: Unable to create ‘project_path/.git/index.lock’: File exists.
- spring log4j.properties
- cocos3.x 特效使用方法
- Android ContentProvider和getContentResolver
- UITableView中Lable自动换行,Cell自动适应高度
- Unix学习笔记------套接字----服务器端函数
- Git – fatal: Unable to create 'XXX/.git/index.lock’: File exists.的解决办法
- 如何理解 if let 与guard let
- session失效
- 我的Java研发实习面试经历
- UITableView中用xib实现的cell中的View点击后View消失
- ImageView.ScaleType设置图解
- 关于RSA非对称加密在Android应用中的使用
- CSS border三角、圆角图形生成技术详解
- sockaddr和sockaddr_in