본문 바로가기

개발노트

[GIT] ubuntu on windows 사용 시, 모든 파일이 변경된다고 인식될 때

라인 끝 문자(End of Line Character)가 달라서 windows cmd 로 `git status` 했을 때와 ubuntu shell 에서 `git status` 의 결과가 다르다.


ubuntu shell 에서 


git config --global core.filemode false
git config --global core.autocrlf true


를 실행해주면 된당.

반응형