문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
git:crlf [2014/02/20 15:39] kwon37xi |
git:crlf [2014/12/29 00:21] (현재) kwon37xi [.gitattributes 예] |
||
|---|---|---|---|
| 줄 7: | 줄 7: | ||
| * https:// | * https:// | ||
| + | ===== CRLF -> LF 전환 ===== | ||
| + | * 먼저 CRLF 혹은 LF를 강제해야할 모든 파일을 '' | ||
| + | find . -name " | ||
| + | find . -name " | ||
| + | # ... | ||
| + | </ | ||
| + | * 해당 상태를 커밋한다. | ||
| + | * 이제 '' | ||
| + | * '' | ||
| ===== dos2unix/ | ===== dos2unix/ | ||
| '' | '' | ||
| 줄 20: | 줄 29: | ||
| *.groovy text eol=lf | *.groovy text eol=lf | ||
| *.py text eol=lf | *.py text eol=lf | ||
| + | *.rb text eol=lf | ||
| *.gradle text eol=lf | *.gradle text eol=lf | ||
| *.properties text eol=lf | *.properties text eol=lf | ||
| 줄 34: | 줄 44: | ||
| </ | </ | ||
| + | 오직 '' | ||
| + | < | ||
| + | * text eol=lf | ||
| + | </ | ||