在检查分支时,我收到一条错误消息
"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。
您有一些未跟踪的文件。所以,做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>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3665 次 |
| 最近记录: |