깃허브 명령어 git add를 이용하여 추가하려고 하면 이런 에러가 자주 발생한다.

warning: LF will be replaced by CRLF in gradlew.

The file will have its original line endings in your working directory.

 

그래서 검색해봤더니 이렇게 하면 된다고 한다.

https://blog.naver.com/lovelylucia/221743687212

git config --global core.autocrlf true

이 한 줄을 입력해주면 해결된다.

이제 아까 안 됐던 add가 멀쩡히 잘 되는 것을 볼 수 있다.

'GitHub' 카테고리의 다른 글

[GitHub] 깃허브 fatal: unable to access, push 안 됨  (3) 2020.01.21

+ Recent posts