깜놀하는 해므찌로

warning: in the working copy of 'yarn.lock', LF will be replaced by CRLF the next time Git touches it 에러 해결 예시 본문

IT

warning: in the working copy of 'yarn.lock', LF will be replaced by CRLF the next time Git touches it 에러 해결 예시

agnusdei1207 2023. 4. 29. 02:18
반응형
SMALL

1. git add 시 발생합니다.

2. 줄바꿈 문제 (공백인데 줄 바꿈이 있다는 말)

git config --global core.autocrlf true // 윈도우
git config --global core.autocrlf input // 리눅스 (맥)

3. 위 명령어 실행 후 다시 git add 합니다.

반응형
LIST