Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
GIT中中断的系统调用_Git_Intellij Idea - Fatal编程技术网

GIT中中断的系统调用

GIT中中断的系统调用,git,intellij-idea,Git,Intellij Idea,在检查分支时,我得到一个错误,即 "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:

在检查分支时,我得到一个错误,即

"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。

您有一些未跟踪的文件。因此,请执行
提交
隐藏

$ 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>
$git commit-am'message'#添加并提交
$git checkout-b#结帐到新分行
或
$git add。
$git stash#隐藏更改
$git结帐-b

您有一些未跟踪的文件。因此,请执行
提交
隐藏

$ 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>
$git commit-am'message'#添加并提交
$git checkout-b#结帐到新分行
或
$git add。
$git stash#隐藏更改
$git结帐-b

现在,如果我需要签出现有分支,我尝试了git checkout,它再次显示错误“一些未跟踪的工作树文件将被签出覆盖。请在签出之前移动或删除它们。查看它们”您可能在同一文件的同一行中更改了,因此,冲突正在发生。所以,最好的方法是
在当前分支中提交您的更改
,然后签出到另一个现有分支。我没有做任何更改。我的变更列表是空的。但无论何时,只要您想签出任何其他现有分支,都会面临此问题。请确保
git status
未显示任何更改。请尝试执行签出操作。
git reset--hard HEAD
do checkout。对于命令“git status”,我看不到上面的内容。我看到我的分公司是最新的。无论我做什么,这个问题都将永远存在。现在,如果我需要签出现有分支,我尝试了git checkout,它再次显示错误“一些未跟踪的工作树文件将被签出覆盖。请在签出之前移动或删除它们。查看它们”您可能在同一文件的同一行中更改了,因此,冲突正在发生。所以,最好的方法是
在当前分支中提交您的更改
,然后签出到另一个现有分支。我没有做任何更改。我的变更列表是空的。但无论何时,只要您想签出任何其他现有分支,都会面临此问题。请确保
git status
未显示任何更改。请尝试执行签出操作。
git reset--hard HEAD
do checkout。对于命令“git status”,我看不到上面的内容。我看到我的分公司是最新的。无论我做什么,这个问题都将永远存在。