Git_Attributes

Attributes

https://stackoverflow.com/questions/2517190/how-do-i-force-git-to-use-lf-instead-of-crlf-under-windows\#13154031

Also we can utilize Git Attributes file in order to make sure we have consistent encoding set when working in cross platform environment.

https://www.richie-bendall.ml/gitattributes-generator/

Submodules

Disable Dirty change set

Modified content dirty submodule.

[submodule "subModule_name"]
  path = subModule_name
  url = ../path-subModule_name.git
  branch = master
  ignore = dirty

SO

Ignore changes