문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
git [2018/05/09 13:39] kwon37xi [Windows Git] |
git [2019/03/12 14:44] kwon37xi [파일 chmod 변경 - 특히 실행(x) 권한] |
||
---|---|---|---|
줄 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) 프로토콜의 경우 명령행에서는 비밀번호 저장해두기가 곤란하다. 그래서 캐시를 사용한다. | ||
줄 85: | 줄 51: | ||
</ | </ | ||
- | ===== Password in Windows ===== | + | ===== Windows ===== |
* [[https:// | * [[https:// | ||
+ | * Unicode 깨짐 문제가 발생함 [[https:// | ||
+ | # cmd | ||
+ | set LC_ALL=C.UTF-8 | ||
+ | |||
+ | # powershell | ||
+ | $env: | ||
+ | |||
+ | # 시스템 환경변수에 넣어둘 것 | ||
+ | </ | ||
===== Git Diff -> meld ===== | ===== Git Diff -> meld ===== | ||
줄 241: | 줄 215: | ||
find . -type d -empty -exec touch {}/.gitkeep \; | find . -type d -empty -exec touch {}/.gitkeep \; | ||
</ | </ | ||
+ | |||
+ | ===== 파일 chmod 변경 - 특히 실행(x) 권한 ===== | ||
+ | * [[https:// | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * commit 한다. | ||
+ | |||
===== 문제 해결 ===== | ===== 문제 해결 ===== | ||
줄 266: | 줄 248: | ||
* [[https:// | * [[https:// | ||
* [[http:// | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// |