형상관리
[Git] Warning 로그
헤르메스의날개
2023. 2. 22. 23:41
728x90
git add 명령을 실행했는데, 아래와 같은 Warning 메시지가 발생했습니다.
warning: LF will be replaced by CRLF in bora.txt.
The file will have its original line endings in your working directory
warning: in the working copy of 'build.gradle', LF will be replaced by CRLF the next time Git touches it
warning: in the working copy of 'src/main/java/com/octopus/OctopusLoginApplication.java', LF will be replaced by CRLF the next time Git touches it
LF(Line-Feed)를 CRLF(Carriage-Return-Line-Feed)로 변경한다는 메시지입니다.
경고 메시지를 off 시키고 작업하면 됩니다.
변환기능을 사용하지 않고, 메시지도 뜨지 않도록 수정
git config --global core.safecrlf false
728x90