Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/23.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:由于未知,无法合并文件。gitignore规则_Git_Version Control_Merge_Dvcs_Gitignore - Fatal编程技术网

git:由于未知,无法合并文件。gitignore规则

git:由于未知,无法合并文件。gitignore规则,git,version-control,merge,dvcs,gitignore,Git,Version Control,Merge,Dvcs,Gitignore,我正在合并一个文件,但在完成3向合并后,我看到: Normal merge conflict for 'myfile.ext': {local}: modified file {remote}: modified file Hit return to start merge resolution tool (araxis): The following paths are ignored by one of your .gitignore files: Installers Use -

我正在合并一个文件,但在完成3向合并后,我看到:

Normal merge conflict for 'myfile.ext':
  {local}: modified file
  {remote}: modified file
Hit return to start merge resolution tool (araxis): 
The following paths are ignored by one of your .gitignore files:
Installers
Use -f if you really want to add them.
fatal: no files added
git状态
给出:

Unmerged paths:
#   (use "git reset HEAD <file>..." to unstage)
#   (use "git add <file>..." to mark resolution)
#
#       both modified:      myfile.ext
未合并的路径:
#(使用“git重置磁头…”取消分级)
#(使用“git add…”标记分辨率)
#
#都已修改:myfile.ext
我试着找到那辆车,但没有结果。
有没有办法在修复问题之前强制合并.gitignore文件?

如果要强制合并到特定分支

关于gitignore文件,下面给出了什么

git config --get core.excludesfile

Installers
在里面吗?

谢谢马克。我看了你的链接,我想要的东西不同于接受我们的或他们的。我确实需要明确解决冲突,然后签入。所以我真的必须在那个文件上运行git mergetool。关于core.excludesfile的提示非常有用,我修复了忽略规则。谢谢