...to work as expected, while still allowing your tools to work. To do so, you can specify a gitattributes (5) pattern with the working-tree-encoding attribute. For example, the fo…...This includes $GIT_DIR/config in the submodule, but also settings in the tree such as a .gitattributes or .gitignore files that specify behavior of commands inside the submodule…...idered a match; this is in addition to the usual non-magic pathspec pattern matching. See gitattributes (5). Each of the attribute requirements for the path takes one of these f…