If you want to force a merge to a particular branch see this question
Regarding the gitignore file, what does the following give?
git config --get core.excludesfile
Is Installers
in there?
Question
I was merging a file but upon finishing the 3-way merge, I saw this:
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
And git status
gives:
Unmerged paths:
# (use "git reset HEAD <file>..." to unstage)
# (use "git add <file>..." to mark resolution)
#
# both modified: myfile.ext
I tried to find the .gitignore but it was fruitless. Is there a way to force merge before I fix the problem .gitignore file?
Solution
If you want to force a merge to a particular branch see this question
Regarding the gitignore file, what does the following give?
git config --get core.excludesfile
Is Installers
in there?