문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
git [2018/05/09 13:39] kwon37xi [Windows Git] |
git [2019/06/26 19:08] kwon37xi [파일 chmod 변경 - 특히 실행(x) 권한] |
||
---|---|---|---|
줄 23: | 줄 23: | ||
* 이걸 해도 자소 분리 현상이 발생하면 '' | * 이걸 해도 자소 분리 현상이 발생하면 '' | ||
* SourceTree 사용자는 Preferences에서 **" | * SourceTree 사용자는 Preferences에서 **" | ||
+ | |||
+ | ===== Directory별 Include 설정 ===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * '' | ||
+ | [includeIf " | ||
+ | path = .git_personal_projects | ||
+ | </ | ||
+ | * '' | ||
+ | [user] | ||
+ | email = kwon37xi@gmail.com | ||
+ | name = KwonNamSon | ||
+ | </ | ||
===== Ubuntu Git 최신 버전 ===== | ===== Ubuntu Git 최신 버전 ===== | ||
줄 31: | 줄 44: | ||
</ | </ | ||
- | ===== 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: | 줄 64: | ||
</ | </ | ||
- | ===== Password in Windows ===== | + | ===== Windows ===== |
* [[https:// | * [[https:// | ||
+ | * Unicode 깨짐 문제가 발생함 [[https:// | ||
+ | # cmd | ||
+ | set LC_ALL=C.UTF-8 | ||
+ | |||
+ | # powershell | ||
+ | $env: | ||
+ | |||
+ | # 시스템 환경변수에 넣어둘 것 | ||
+ | </ | ||
===== Git Diff -> meld ===== | ===== Git Diff -> meld ===== | ||
줄 188: | 줄 175: | ||
* [[linux: | * [[linux: | ||
* [[http:// | * [[http:// | ||
+ | mkdir -p ~/ | ||
curl https:// | curl https:// | ||
줄 241: | 줄 229: | ||
find . -type d -empty -exec touch {}/.gitkeep \; | find . -type d -empty -exec touch {}/.gitkeep \; | ||
</ | </ | ||
+ | |||
+ | ===== 파일 chmod 변경 - 특히 실행(x) 권한 ===== | ||
+ | * [[https:// | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * commit 한다. | ||
+ | |||
===== 문제 해결 ===== | ===== 문제 해결 ===== | ||
줄 266: | 줄 262: | ||
* [[https:// | * [[https:// | ||
* [[http:// | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// |