Gil lists difference in CLI and PhpStorm

CLI git status is 1 file (that's real)
PhpStorm = 345
git config --global core.autocrlf input

System:
Win 10 pro
PhpStorm: 2025.1.2
WSL2 → Ubuntu 22.04

0

Fixed with git config core.fileMode false

Looks like you are opening repo from unix file system. Linux has executable (+x) file mode and Windows doesn't. So, for git all executable files look like they lost the +x flag.

You can configure git on windows to ignore file mode changes:

git config core.fileMode false
 

May be can help somebody in future

0

请先登录再写评论。