Code
[git] warning LF will be replaced by CRLF , 경고 메시지 안보게 하기
codens
2019. 11. 1. 13:18
- 윈도우
git config --global core.autocrlf true
- CRLF -> LF 로 변경
- 맥, 리눅스
git config --global core.autocrlf input
- LF를 개행문자로 인식
- 경고 메시지 감추기
git config --global core.safecrlf false
개행 관련 에러를 출력하지 않는다.
//=========
// 참고
https://www.lesstif.com/pages/viewpage.action?pageId=20776404
https://blog.jaeyoon.io/2018/01/git-crlf.html
https://git-scm.com/docs/gitattributes/1.7.3.3
https://stackoverflow.com/questions/5834014/lf-will-be-replaced-by-crlf-in-git-what-is-that-and-is-it-important
반응형