Another git process semms to be running in this repository, e.g. an editor opened by ‘git commit’. P

来源:互联网 发布:如何查看网络ip地址 编辑:程序博客网 时间:2024/06/05 06:41

git 使用过程中遇到如图所示问题:


解决方法:根据错误提示,.lock 文件已经存在,删除此文件即可

使用git命令rm 删除即可

例如:

rm /Applications/XAMPP/xamppfiles/htdocs/xingle/.git/index.lock
这个.lock 文件是你自己的文件

阅读全文
0 0
原创粉丝点击