문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
git [2018/05/09 13:38] kwon37xi [Windows Git] |
git [2018/12/03 19:34] kwon37xi |
||
---|---|---|---|
줄 31: | 줄 31: | ||
</ | </ | ||
- | ===== Windows Git ===== | ||
- | * https:// | ||
- | * [[http:// | ||
- | * [[https:// | ||
- | * Msys 환경에서 한글이 깨질 때<code sh> | ||
- | # mintty 콘솔이 CP949일 때는 다음 처리를 하고, UTF-8일 때는 --unset 해버린다. | ||
- | git config --global core.quotepath false # 파일명이 숫자로 보이는 문제 | ||
- | git config --global i18n.logoutputencoding cp949 | ||
- | git config --global i18n.commitencoding cp949 | ||
- | </ | ||
- | * [[http:// | ||
- | * [[https:// | ||
- | * | ||
- | * [[http:// | ||
- | [merge] | ||
- | tool = meld | ||
- | [mergetool " | ||
- | cmd = " | ||
- | [diff] | ||
- | tool = meld | ||
- | [difftool " | ||
- | cmd = " | ||
- | </ | ||
- | * [[windows: | ||
- | * '' | ||
- | GIT_SSH=c: | ||
- | </ | ||
- | * '' | ||
- | * '' | ||
- | * 새로운 호스트에서 clone을 하려면 먼저 '' | ||
- | plink.exe git@github.com | ||
- | </ | ||
- | * [[intellij_idea|IntelliJ IDEA]]에서 사용시 '' | ||
===== Password Cache ===== | ===== Password Cache ===== | ||
* HTTP(S) 프로토콜의 경우 명령행에서는 비밀번호 저장해두기가 곤란하다. 그래서 캐시를 사용한다. | * HTTP(S) 프로토콜의 경우 명령행에서는 비밀번호 저장해두기가 곤란하다. 그래서 캐시를 사용한다. | ||
줄 84: | 줄 51: | ||
</ | </ | ||
- | ===== Password in Windows ===== | + | ===== Windows ===== |
+ | * [[https:// | ||
+ | * Unicode 깨짐 문제가 발생함 [[https:// | ||
+ | # cmd | ||
+ | set LC_ALL=C.UTF-8 | ||
- | * [[https://github.com/Microsoft/ | + | # powershell |
+ | $env:LC_ALL=' | ||
+ | |||
+ | # 시스템 환경변수에 넣어둘 것 | ||
+ | </code> | ||
===== Git Diff -> meld ===== | ===== Git Diff -> meld ===== | ||
줄 265: | 줄 240: | ||
* [[https:// | * [[https:// | ||
* [[http:// | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// |