学习git遇到create to"c:/user/xxx/xxx/xx"错误
2017-11-14 20:15
423 查看
今天学习git的使用,发现输入任何命令都提示
fatal: Unable to create 'C:/Users/zmysna/mydir/.git/index.lock': File exists.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue
于是找到C:/Users/zmysna/mydir/.git/index.lock这个路径
输入
rm -rf C:/Users/zmysna/mydir/.git/index.lock
删除后即可正常使用
fatal: Unable to create 'C:/Users/zmysna/mydir/.git/index.lock': File exists.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue
于是找到C:/Users/zmysna/mydir/.git/index.lock这个路径
输入
rm -rf C:/Users/zmysna/mydir/.git/index.lock
删除后即可正常使用
相关文章推荐
- 重装系统时遇到的"setup was unable to create a new system partition"错误
- 使用git commit命令时遇到 fatal: Unable to create index.lock File exists 错误的解决办法
- 【学习Android遇到的错误】import 的时候出现“no projects are found to import”
- 【git常见问题】 fatal: Unable to create index.lock File exists 错误的解决办法
- MySQL下“Can’t create/write to file xxx (Errcode: 13)”错误的解决方法
- git遇到的诡异错误: Failed connect to github.com:443
- git遇到的诡异错误: Failed connect to github.com:443
- Qt出现错误"undefined reference to 'vtable for XXXXX.XXX'"
- Git – fatal: Unable to create 'XXX/.git/index.lock’: File exists.的解决办法
- 遇到错误 org.hibernate.HibernateException: identifier of an instance of XXX was altered from X to X 将int
- 重装VS6时,弹出Setup Was Unable to Create a DCOM User Account错误的解决方法
- git遇到的诡异错误: Failed connect to github.com:443
- 解决Cannot create PoolableConnectionFactory (Access denied for user 'xxx'@'xxx.xxx.xx.xxx' (using pas
- Git – fatal: Unable to create ‘/.git/index.lock’: File exists错误解决办法
- VS2012遇到一个问题:"链接器工具错误 LNK2026 XXX模块对于 SAFESEH 映像是不安全的"
- git学习笔记(1) -- "user.name has multiple values"
- 【错误集锦】——"XX cannot be resolved to a type "eclipse报错及解决说明
- git遇到的诡异错误: Failed connect to github.com:443
- Git – fatal: Unable to create 'XXX/.git/index.lock’: File exists.的解决办法
- 大牛初步之kettle连接mysql的奇葩错误: message from server: "Host 'PCXX‘ is not allowed to connect to this MySQL s