Gitextensions: Option to suppress line endings warning?

Created on 22 Dec 2015  路  3Comments  路  Source: gitextensions/gitextensions

Stage 1 files
warning: LF will be replaced by CRLF in README.md.
The file will have its original line endings in your working directory.

Done

Is it possible to suppress this warning via an option and just proceed?

Most helpful comment

This works: git config --global core.safecrlf false
Thanks.

All 3 comments

This is a message from git, you can disable it in your .gitconfig:

git config --global safecrlf false

This disables the warning. Other values are: true (block when this happens) or the default: warn

That tells me:

> git config --global safecrlf false
error: key does not contain a section: safecrlf

and

> git --version
git version 2.6.3.windows.1

This works: git config --global core.safecrlf false
Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lucibranc picture lucibranc  路  5Comments

jakebathman picture jakebathman  路  5Comments

drewnoakes picture drewnoakes  路  3Comments

Doug0855 picture Doug0855  路  4Comments

XopherThomas picture XopherThomas  路  5Comments