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

apobekiaris picture apobekiaris  路  4Comments

mynkow picture mynkow  路  3Comments

otbutz picture otbutz  路  3Comments

JimmyZJX picture JimmyZJX  路  3Comments

vishalgupta1988 picture vishalgupta1988  路  4Comments