git:: LF CRLF 처리 when git check

 

ERROR Message

warning: LF will be replaced by CRLF in OOO
The file will have its original line endings in your working directory

 

#global set
#local set 순서

# windows
git config --global core.autocrlf true
git config core.autocrlf true



# ubuntu / mac
git config --global core.autocrlf input
git config core.autocrlf input


# disable
git config --global core.autocrlf false
git config core.autocrlf false


#
git config --global core.eol native
git config core.eol native

 

 

https://stackoverflow.com/questions/17628305/windows-git-warning-lf-will-be-replaced-by-crlf-is-that-warning-tail-backwar

 

Windows git "warning: LF will be replaced by CRLF", is that warning tail backward?

env: Windows 7 msysgit Wheng I git commit, it says: warning: LF will be replaced by CRLF. Is this warning tail backward? I edit file in Windows, the end of line is CRLF, just like this pi...

stackoverflow.com

 

 

 

 

_

반응형