在检查分支时我收到错误
"Some untracked working tree files would be overwritten by checkout.
Please move or remove them before you can checkout. View them"
后来我删除了那些未跟踪的文件并尝试再次结帐。但现在我面临以下问题:
Failed to read object 5df02069fcff5919daf91215f7706fc826c76: Interrupted system call
我正在使用Intellij IDE。
答案 0 :(得分:4)
你有一些未跟踪的文件。所以,请commit
或stash
。
$ 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>