Git SVN 错误 : a Git process crashed in the repository earlier

标签 git git-svn

我只是想将更改提交给 Git master。从我读到的内容来看,这个想法似乎是删除锁定文件。消息说:

make sure no other Git processes are running and remove the file manually

也许有人知道要删除哪个文件以及如何删除?

最佳答案

有问题的文件可能是 .git/index.lock 并且它是 should be safe to just remove it if you have no other git processes running .确保 git-svn 命令没有挂起。

PS 我解决 git-svn 问题的常用方法是重新 pull 存储库。耗时,但您可以在尝试解决问题的同时进行。在你和 git 之间来一场小竞赛。当然,这仅在您没有未提交的提交时才有效。

关于Git SVN 错误 : a Git process crashed in the repository earlier,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9185053/

相关文章:

svn - 与 SVN upstream 同步工作

git - 通过 git 删除一个 svn-Branch?

git - 原点映射到什么,如何找出

git - 将子目录分离(移动)到单独的 Git 存储库中

git svn cherry pick 忽略警告

Git SVN,在git rebase之后无法从工作树历史记录中确定上游SVN信息

git - 如何 git svn 获取较旧的历史记录?

git - 第二次 checkout 同一个本地 Git 分支?

git - 无法从远程 checkout 新分支

git - "Changes not staged for commit"是什么意思