May 1, 2025

git, switching from windows to Mac

 After I switched from windows to Mac, I encounter some problem with Git. I also switch from git gui to sourceTree as git graphic interface.

There are modified content but if you look closely the modified content is exactly the same as the old file.


 git config core.filemode false

 git config core.autocrlf input


solved half the problem. The modified files are gone from the unstaged window.


The other half is there are untracked files that were definitely tracked but now show as untracked. Because of this, I lost many history. This is a bomber.

No comments: