0

我正在更新我所有的 git repo 分支。更新成功。但是,当我尝试更改工作分支时,不知何故我的系统挂起。我以前是打开的,branch1但是当我尝试将其更改为masterbygit checkout master时,系统挂起,因此我不得不关闭系统。

目前,branch1只有工作分支。但是当我尝试这样做git checkout master时,会出现以下错误:

fatal: Unable to create '/home/ps/moodle/moodle_master/moodle/.git/index.lock': File exists.

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.

我怎样才能在不损坏我的回购协议的情况下解决这个问题?

4

0 回答 0