Files committed via PhpStorm's integrated Git handling still show as modified when viewed with commandline git status
. They still push successfully to the remote on GitLab.
Asked
Active
Viewed 29 times
1
-
1Please include more details. What does `git diff` say on those files? – PMF Jan 22 '22 at 08:53
1 Answers
0
With Git 2.8+ (Q1 2016), you can use git ls-files --eol -- a/file/still/modified
to check if the current change is related ot EOL (end of line character: \n
vs. \r\n
)
That way, you will know more about why those files are shown modified in your working tree (and displayed as modified in your IDE).

VonC
- 1,262,500
- 529
- 4,410
- 5,250