Is it possible? The git update-index --assume-unchanged
is no solution, ignored files have to be tracked. Creating submodules either.
E.g.
cat .customgitignore(1|2|3...)
i-do-not-need-this.extension
cat .gitignore
basic-stuff.extension
<load> .customgitignore1
<load> .customgitignore2
<load> .customgitignore3
etc
Issue description for those interested.
I am creating private repo of configs. One branch = one config. Additional branch as workspace. I merge other branches-configs with workspace depending on requirements. Branches-configs each have their own .gitignore which should be applied only after merge. I am trying to omit conflicts in gitignore file.