简体   繁体   中英

PhpStorm Git integrated vs commandline

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.

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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM