generated on 2019-05-23 00:18:59.034947 from the wiki page for GitStuff for SUMO git

Miscellaneous Git Topics

Resolve LF status error

Occasionally, when adding files with different line endings to the repository, a working copy may enter a state with changes that can not be reverted (by stash or checkout).

 warning: CRLF will be replaced by LF in build/wix/sumo.wxs.
 The file will have its original line endings in your working directory.

Solution (stackoverflow):

 git rm --cached -r . 
 git reset --hard