문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
git [2020/06/02 07:27] kwon37xi [bash auto completion] |
git [2020/08/17 19:51] kwon37xi [git] |
||
---|---|---|---|
줄 2: | 줄 2: | ||
* http:// | * http:// | ||
* [[git: | * [[git: | ||
+ | * [[git: | ||
+ | |||
+ | ===== Ubuntu 최신 버전 install ===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | <code sh> | ||
+ | sudo add-apt-repository ppa: | ||
+ | sudo apt update | ||
+ | sudo apt install git | ||
+ | </ | ||
===== Client 설정 ===== | ===== Client 설정 ===== | ||
줄 15: | 줄 25: | ||
git config --global core.filemode false | git config --global core.filemode false | ||
- | # Mac OS X 유니코드 문제 | + | # Mac OS X 유니코드 문제? 아직도 발생하나? |
- | git config --global core.precomposeunicode true | + | # git config --global core.precomposeunicode true |
</ | </ | ||
줄 37: | 줄 47: | ||
name = KwonNamSon | name = KwonNamSon | ||
</ | </ | ||
+ | * **includeIf 는 맨 마지막에 두는 것이 좋다.** 이 이후에 나오는 설정은 '' | ||
===== Ubuntu Git 최신 버전 ===== | ===== Ubuntu Git 최신 버전 ===== | ||
* https:// | * https:// | ||
줄 45: | 줄 55: | ||
</ | </ | ||
- | |||
- | ===== Password Cache ===== | ||
- | * HTTP(S) 프로토콜의 경우 명령행에서는 비밀번호 저장해두기가 곤란하다. 그래서 캐시를 사용한다. | ||
- | * [[http:// | ||
- | * Linux에서는 다음 처리로 간편하게 캐시가 끝난다.< | ||
- | # 기본 캐시 시간 15분 | ||
- | git config --global credential.helper cache | ||
- | |||
- | # 캐시 시간 지정 | ||
- | git config --global credential.helper 'cache --timeout=7200' | ||
- | </ | ||
- | |||
- | ===== Password with Gnome-Keyring | ||
- | * [[http:// | ||
- | # on Ubuntu | ||
- | sudo apt-get install libgnome-keyring-dev | ||
- | sudo make --directory=/ | ||
- | git config --global credential.helper / | ||
- | </ | ||
- | |||
- | ===== Windows ===== | ||
- | * [[https:// | ||
- | * Unicode 깨짐 문제가 발생함 [[https:// | ||
- | # cmd | ||
- | set LC_ALL=C.UTF-8 | ||
- | |||
- | # powershell | ||
- | $env: | ||
- | |||
- | # 시스템 환경변수에 넣어둘 것 | ||
- | </ | ||
===== Git Diff -> meld ===== | ===== Git Diff -> meld ===== |