昨天提交代码的时候只commit,没有push,今天执行git stash 的时候报了上述错误。删除项目中.git文件夹下的index.dock即可执行操作命令
Another git process seems to be running in this repository, e.g.
本文介绍了解决在使用git stash命令时遇到的错误的方法。如果昨天提交代码时仅进行了commit而未进行push操作,则可能会遇到问题。文章提供了一个简单的解决方案:删除项目中.git文件夹下的index.lock文件即可。

被折叠的 条评论
为什么被折叠?



