Quantcast
Channel: sr's lair
Viewing all articles
Browse latest Browse all 688

[git-bash] git diff 한글 깨짐

$
0
0

참조 글에서 git diff 에 영향 주는 내용만 추출


먼저 git config에 encoding 관련 설정을 추가해줍니다. i18n 섹션이 없으면 아래 내용 그대로 추가해줍니다.(commit~과 logout~ 앞의 공백은 탭)



제어판>>시스템>>고급>>환경변수>>새로 만들기에서 LESSCHARSET 을 만들고 값으로 latin1을 입력.


참고로 유니코드를 사용하고 싶을 때에는 cp949 대신 utf8을 써주면 됩니다.


참조: http://cafe.daum.net/_c21_/bbs_search_read?grpid=1DpW4&fldid=NSCV&datanum=7


Viewing all articles
Browse latest Browse all 688

Trending Articles