Git Warning: LF will be replaced by CRLF
git, git-gui
Solution
Set up the CRLF and the problem will "disappear"
# Option 1:
git config --global core.autocrlf false
# Option 2:
`git config --global core.safecrlf false`
https://help.github.com/articles/dealing-with-line-endings
Problem
I am using Git gui. I see this error for several files in a folder. I have two choice buttons - `Unlock index` and `Continue`. I don't understand what the buttons do. I saw other SO posts which tell me to ignore the warning, but they don't mention how to do it in GUI. Please tell me which button I should press and why. Thanks. Here is the error message sample - Updating the Git index failed. A rescan will be automatically started to resynchronize git-gui. warning: LF will be replaced by CRLF in gen/com/click4tab/pustakalpha/BuildConfig.java. The file will have its original line endings in your working directory. (repeat above messages for other files)