很抱歉标题重复,但我无法理解答案。 我的情况是: 我有一个存储库。 我有文件夹X和文件夹Y;我在这两个文件夹中都克隆了Abcd。 现在我有一个python代码在多线程中运行,它执行以下操作:
subprocess.check_call(['git', 'fetch', gitSettings.server_name_gear]) subprocess.check_call(['git', 'remote', 'prune', 'origin'])
subprocess.check_call(['git', 'checkout', '-f', branch])
此代码在X文件夹中的Abcd上执行
我得到的误差如下:
If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is running and remove the file manually to continue. using through thread 1 and on Abcd in folder Y using thread 2.
很抱歉命名惯例,我只是想简化一下。你知道吗
谢谢
目前没有回答
相关问题 更多 >
编程相关推荐