When I run git status
on a git repository through WSL (Windows Subsystem for Linux) that's on the Window's directory (/mnt/c/Users/....
), I get that every file in the directory has been modified. Each modification is just delete and re-write of the original file. See below:
Below is a git diff
on one of the files
Now if I run a git status
on the exact same repository on the Windows side (through powershell), I get nothing:
Any particular reason behind this? I know the ^M
have to do with the different line endings that Linux and Microsoft are using, but that git would disagree on whether changes have been made or not seems odd to me.
Note: I've been working on the repository on WSL side through a separate clone of the repository (hence why the Windows side is 15 commits behind). No editing has been done to the Windows repository though. Not sure if this changes anything, but I'd figure I'd mention it.