GIT 中的系统调用中断

swe*_*tha 1 git intellij-idea

在检查分支时,我收到一条错误消息

"Some untracked working tree files would be overwritten by checkout.
     Please move or remove them before you can checkout. View them"
Run Code Online (Sandbox Code Playgroud)

后来我删除了那些未跟踪的文件并尝试再次结帐。但现在我面临以下问题:

Failed to read object 5df02069fcff5919daf91215f7706fc826c76: Interrupted system call
Run Code Online (Sandbox Code Playgroud)

我正在使用 Intellij IDE。

Saj*_*han 5

您有一些未跟踪的文件。所以,做commitstash

$ git commit -am 'message'          # add & commit
$ git checkout -b <new-branch>      # checkout to new branch

Or,
$ git add .
$ git stash                         # stash the changes
$ git checkout -b <new-branch>
Run Code Online (Sandbox Code Playgroud)