I'm currently working on a project versioned with git and I was developing it on Windows.

Recently, I swapped from Windows to Linux and, instead of commiting the changes to the remote repository, I just zipped the file cause the feature that I was working on was not done at all.

After unzipped the project's directory on Linux, I noticed that the repository was with changes in all of the project files (due to LF and CRLF distinct line endings), and now I'm with a branch with all the files with changes and to be commited again.

I was searching for this issue and just found topics mentioning `git reset --soft`, it is a valid way too, but my primary purpouse was not changing the history of changes of all the files.

There is some way to 'undo' this line ending particularity and remove the files from the staging area?