Unable to create .git/index.lock File exists
1、git commit -aGetting fatal: Unable to create '/Users/justin/Sites/myapp/.git/index.lock'物民央阅侵: File exists.
If no other git process is currently running, this probably means agit process crashed in this repository earlier. Make sure no other gitprocess is running and remove the file manually to continue.
2、解决办法:找到index.lock 删除即鬼肥可
cd .gitdel index.lock
3、Try
rm -f ./.git/index.lock
阅读量:118
阅读量:80
阅读量:183
阅读量:96
阅读量:52