Git status ignore line endings in identical files on Windows & Linux October 28, 2023 by Tarik Try setting core.autocrlf value like this : git config --global core.autocrlf true