1、git comm坡纠课柩it -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 .git del index.lock
3、Tryrm -f ./.git/index.lock