반응형
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
반응형
'이슈(오류) > 해결' 카테고리의 다른 글
Pulling is not possible because you have unmerged files. - git pull 오류 해결 (0) | 2020.12.24 |
---|---|
git - fatal: Authentication failed for 관련 해결 (0) | 2020.12.18 |
gitbash 에서 git push 오류 해결 (0) | 2020.12.16 |
[HMR] Waiting for update signal from WDS 해결 (0) | 2020.12.16 |
code ELIFECYCLE errno 1 오류 해결 (0) | 2020.12.16 |
댓글