GIt突然无法提交文件

今日提交代码时,突然报错:

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

后来在项目中发现这个文件,删除该文件后,提交成功

发布了23 篇原创文章 · 获赞 7 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/ghd602338792/article/details/84326003