Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/25.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 - Fatal编程技术网

git存储无法刷新,如何仅弹出部分文件

git存储无法刷新,如何仅弹出部分文件,git,Git,我已经隐藏了我的更改以便进行git拉取,但是现在我无法将更改从我的存储中弹出。看起来是这样的: dave@apollo % git stash pop sites/all/themes/foobar122/node--pin.tpl.php: needs merge unable to refresh index dave@apollo % git stash show .htaccess | 10

我已经隐藏了我的更改以便进行git拉取,但是现在我无法将更改从我的存储中弹出。看起来是这样的:

dave@apollo % git stash pop 
sites/all/themes/foobar122/node--pin.tpl.php: needs merge
unable to refresh index

dave@apollo % git stash show  
 .htaccess                                            | 10 +++++-----
 phpinfo.php                                          |  4 +++-
 sites/all/modules/ajax_comments/ajax_comments.module |  6 +++---
 sites/all/themes/foobar122/node--pin.tpl.php         | 14 +++++++-------
 4 files changed, 18 insertions(+), 16 deletions(-)
有人能简单地解释一下,在将我的更改恢复到没有冲突的文件时,如何恢复冲突的文件(接受他们的副本)。

从下面的链接

该消息仅表示您有未完成的更改。您也会得到这样的结果,例如,如果您使用
git add
进行
stage
一些更改,然后改变主意,重新开始执行
git reset HEAD
文件


  • 4年后,仍然没有答案。。。我在一个无法应用的隐藏中处理了大约1k行的更改,因为有一个文件阻止了隐藏弹出