git config --global core.autocrlf false
Has always been my recommendation (see "Git 1.6.4 beta on Windows (msysgit) - Unix or DOS line termination").
However, in your case, you can "Continue", but this warning is there to mention the conversion of certain files might not be reversible:
core.safecrlf
If true, makes git check if converting CRLF is reversible when end-of-line conversion is active. Git will verify if a command modifies a file in the work tree either directly or indirectly. For example, committing a file followed by checking out the same file should yield the original file in the work tree. If this is not the case for the current setting of core.autocrlf
, git will reject the file.
The variable can be set to "warn", in which case git will only warn about an irreversible conversion but continue the operation.
If you don't want to see this warning, as explained in this thread, you can set core.safecrlf
to false
.
You could also stash your files through the tools menu of git gui, and add some options to those tools with, for instance, this git config file.
The interest is that, for each tool, you can add:
guitool.<name>.norescan
Don’t rescan the working directory for changes after the tool finishes execution.
Could you please elaborate a bit on Unlock Index
you can see that message in the index.tcl
git-gui script: it removes the index.lock file the git-gui creates when manipulating the index.
You can see more at the "lockfile API" documentation page:
Mutual exclusion.
When we write out a new index file, first we create a new file $GIT_DIR/index.lock
, write the new contents into it, and rename it to the final destination $GIT_DIR/index
.
We try to create the $GIT_DIR/index.lock
file with O_EXCL
so that we can notice and fail when somebody else is already trying to update the index file.