문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
git [2019/06/26 19:09] kwon37xi [파일 chmod 변경 - 특히 실행(x) 권한] |
git [2020/07/22 23:13] kwon37xi [Password with Gnome-Keyring] |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== git ====== | ====== git ====== | ||
* http:// | * http:// | ||
+ | * [[git: | ||
===== Client 설정 ===== | ===== Client 설정 ===== | ||
줄 36: | 줄 37: | ||
name = KwonNamSon | name = KwonNamSon | ||
</ | </ | ||
+ | * **includeIf 는 맨 마지막에 두는 것이 좋다.** 이 이후에 나오는 설정은 '' | ||
===== Ubuntu Git 최신 버전 ===== | ===== Ubuntu Git 최신 버전 ===== | ||
* https:// | * https:// | ||
줄 58: | 줄 59: | ||
===== Password with Gnome-Keyring | ===== Password with Gnome-Keyring | ||
* [[http:// | * [[http:// | ||
+ | -- 오래된것임. 최신화 필요. | ||
# on Ubuntu | # on Ubuntu | ||
sudo apt-get install libgnome-keyring-dev | sudo apt-get install libgnome-keyring-dev | ||
줄 64: | 줄 66: | ||
</ | </ | ||
+ | ===== Password with kde ===== | ||
+ | * [[https:// | ||
===== Windows ===== | ===== Windows ===== | ||
* [[https:// | * [[https:// | ||
줄 132: | 줄 136: | ||
===== Git hook ===== | ===== Git hook ===== | ||
* 기본적으로는 '' | * 기본적으로는 '' | ||
+ | * 2.9 부터는 '' | ||
* 전역 Hook 파일 설정 (git 2.9+)< | * 전역 Hook 파일 설정 (git 2.9+)< | ||
git config --global core.hooksPath / | git config --global core.hooksPath / | ||
</ | </ | ||
+ | * [[https:// | ||
===== Commit Template ===== | ===== Commit Template ===== | ||
줄 187: | 줄 193: | ||
export PS1=" | export PS1=" | ||
+ | </ | ||
+ | |||
+ | ===== bash auto completion ===== | ||
+ | * 대부분의 리눅스는 git 을 설치하면 이미 bash-completion 설정 파일을 함께 설치한다.< | ||
+ | source / | ||
+ | # or | ||
+ | source / | ||
+ | </ | ||
+ | * [[https:// | ||
+ | * Arch/ | ||
+ | sudo pacman -S git bash-completion | ||
+ | # shell 재실행 | ||
</ | </ | ||
줄 230: | 줄 248: | ||
</ | </ | ||
- | ===== 파일 chmod 변경 - 특히 실행(x) 권한 ===== | + | ===== Windows 등에서 |
* [[https:// | * [[https:// | ||
+ | * 아래는 Linux/*nix 계열에서는 불필요하고 작동하지도 않았다. 그냥 '' | ||
* '' | * '' | ||
* '' | * '' | ||
줄 264: | 줄 283: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// |