Git提交出现错误1

Git提交出现:

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.

 

解决办法:

显示文件系统隐藏文件夹
defaults write com.apple.finder AppleShowAllFiles -bool true

找到工程路径删除index.lock 文件
posted @ 2017-09-02 10:23  cghmmm  阅读(525)  评论(0编辑  收藏  举报