Git Unable to create '*index.lock':

 

今天提交代码发现报错:

 

 Unable to create '*/.git/index.lock': 
 File exists. Another git process seems to be running in this repository, 
 e.g. an editor opened by 'git commit'. Please make sure all processes are terminated then try again. 
 If it still fails, a git process may have crashed in this repository earlier: remove the file manually to continue.

 

找到文件夹对应的index.lock文件 删除即可。

具体产生原因后期再详细查

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

你可能感兴趣的:(java)