1

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.

LazyOne
  • 158,824
  • 45
  • 388
  • 391
Punksta
  • 1
  • 2

1 Answers1

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