Assume I have a git folder in /d/projects/project01
.
When I do git status
in Git Bash, and git status
in msys2, it throws different output (image below)
Why this happen and you could I make those 2 work identically?
Check the output of git config core.autocrlf
in both session.
If it is false in git bash, but not in mingw2, set it to false in the second mingw2 session:
git config --global core.autocrlf false