문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
git [2020/06/02 07:27] kwon37xi [bash auto completion] |
git [2020/10/10 17:03] kwon37xi [Ubuntu 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: | ||
</ | </ | ||
- | + | ===== diff & difftool | |
- | ===== Password Cache ===== | + | * '' |
- | * HTTP(S) 프로토콜의 경우 | + | * '' |
- | * [[http:// | + | ===== Git Diff/ |
- | * Linux에서는 | + | * [[https://docs.kde.org/trunk5/en/ |
- | # 기본 | + | < |
- | git config --global credential.helper cache | + | [diff] |
- | + | tool = kdiff3 | |
- | # 캐시 시간 | + | [difftool " |
- | git config --global credential.helper 'cache --timeout=7200' | + | path = /usr/bin/kdiff3 |
- | </ | + | [difftool] |
- | + | | |
- | ===== Password with Gnome-Keyring | + | |
- | * [[http://blog.iqandreas.com/git/storing-https-authentication-in-ubuntu-and-arch-linux/|GIT: Storing HTTPS Authentication in Ubuntu (and Arch Linux) - The Programming Blog of Andreas Renberg (IQAndreas)]]< | + | |
- | # on Ubuntu | + | [merge] |
- | sudo apt-get install libgnome-keyring-dev | + | tool = kdiff3 |
- | sudo make --directory=/usr/share/doc/ | + | [mergetool] |
- | git config --global credential.helper / | + | |
- | </ | + | |
- | + | | |
- | ===== Windows ===== | + | [mergetool " |
- | | + | |
- | * Unicode 깨짐 문제가 발생함 | + | |
- | # cmd | + | |
- | set LC_ALL=C.UTF-8 | + | |
- | + | ||
- | # powershell | + | |
- | $env:LC_ALL=' | + | |
- | + | ||
- | # 시스템 환경변수에 넣어둘 것 | + | |
</ | </ | ||