[git 터미널 오류] LF will be replaced by CRLF the next time Git touches it

programming·2023년 2월 6일
0
post-thumbnail

오류 발생

node.js 실습 파일을 터미널을 통해 Github에 올리려고 git add . 를 쳤는데,

LF will be replaced by CRLF the next time Git touches it 라는 경고 메시지가 떴다.

해결 방법

core.autocrlf라는 기능을 켜주면 해결된다.

Windows, DOS 명령어 => git config --global core.autocrlf true


(참고 블로그)

profile
개발 기록 일지

0개의 댓글