git 썸네일형 리스트형 [draft] Git 경고 메시지 "LF will be replaced by CRLF the next time Git touches it" 해결 방법 Git 경고 메시지 "LF will be replaced by CRLF the next time Git touches it" 해결 방법Git에서 파일을 작업할 때 다음과 같은 경고 메시지가 나타날 수 있습니다.$ git add .warning: in the working copy of '.gitignore', LF will be replaced by CRLF the next time Git touches it원인이 경고 메시지는 Git이 파일의 줄 끝 문자를 변경할 것이라고 알려주는 것입니다. 일반적으로 이러한 경고는 프로젝트가 여러 플랫폼에서 작업될 때 발생하는 것입니다. 일부 플랫폼은 줄 끝을 나타내는데에 LF(Line Feed - Unix 스타일)를 사용하고 다른 플랫폼은 CRLF(Carriage .. 더보기 [draft] git branch 명령어 git branch 명령어현재 작업 중인 브랜치 확인git branch$ git branch* main브랜치 생성하기git branch develop$ git branch* main develop브랜치 전환하기(main -> develop)git checkout develop$ git checkout developbranch 'develop' set up to track 'origin/develop'.Switched to a new branch 'develop'$ git branch* develop maintest1 브랜치 생성git branch test1브랜치 삭제git branch -d test1$ git branch -d test1Deleted branch test1 (was 0d62604).브.. 더보기 이전 1 다음