git LF/CF
2016. 8. 22. 10:06ㆍ구_Programming/git
git commit 도중 warning: CRLF will be replaced by LF 발생.
- 타 운영체제간 행관련 오류.
LF/CF
LF
16 진수:0A LineFeed
-> 커서를 다음행으로 내리기 (unix, mac)
CF
16 진수:0D Carriage Return
-> 커서를 맨 좌측으로 옮기기
CFLF (CF + LF ) 진수: 0D0A
-> 커서를 다음행 맨 좌측으로 옮기기 (winnt)
$ git config --global core.autocrlf input
(unix,mac -> LF, winnt -> CFLF 자동으로 변경)
* 참고 http://handam.tistory.com/127
, http://mwultong.blogspot.com/2006/06/line-feed-lf-carriage-return-cr.html
'구_Programming > git' 카테고리의 다른 글
| 1. git. 개념 (0) | 2014.11.11 |
|---|