사용자 도구

사이트 도구


git:crlf

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

다음 판
이전 판
다음 판 양쪽 다음 판
git:crlf [2014/02/18 12:03]
kwon37xi 새로 만듦
git:crlf [2014/02/20 15:40]
kwon37xi
줄 6: 줄 6:
   * https://help.github.com/articles/dealing-with-line-endings : 자세한 정리   * https://help.github.com/articles/dealing-with-line-endings : 자세한 정리
   * https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html : 매뉴얼   * https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html : 매뉴얼
 +
 +===== dos2unix/unix2dos =====
 +''dos2unix'' 패키지를 설치하고 ''dos2unix'', ''unix2dos'', ''unix2mac'' 등의 명령으로 테스트해본다.
 +
 +===== .gitattributes 예 =====
 +<code>
 +* text=auto
 +
 +*.bat text eol=crlf
 +*.cmd text eol=crlf
 +
 +*.java text elo=lf
 +*.groovy text eol=lf
 +*.py text eol=lf
 +*.rb text eol=lf
 +*.gradle text eol=lf
 +*.properties text eol=lf
 +*.xml text eol=lf
 +*.sql text eol=lf
 +*.txt text eol=lf
 +*.md text eol=lf
 +*.ftl text eol=lf
 +*.jade text eol=lf
 +*.jsp text eol=lf
 +*.jspf text eol=lf
 +
 +gradlew text eol=lf
 +</code>
  
git/crlf.txt · 마지막으로 수정됨: 2014/12/29 00:21 저자 kwon37xi