본문 바로가기
이슈(오류)/해결

git - CRLF 오류 해결

by Elfen Lied 2020. 12. 18.
반응형

git add . 를 했을때 뜨는 오류

warning: LF will be replaced by CRLF in src/App.js.
The file will have its original line endings in your working directory.

개행 문자 관련임.

 

 

- 윈도우

git config --global core.autocrlf true

 

 

- 리눅스 or 맥

git config --global core.autocrlf input

 

 

- 오류 메시지만 끄고 싶을 때

git config --global core.safecrlf false
반응형

댓글