문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
git [2019/03/12 14:44] kwon37xi [파일 chmod 변경 - 특히 실행(x) 권한] |
git [2020/07/22 23:13] kwon37xi [Password with Gnome-Keyring] |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== git ====== | ====== git ====== | ||
* http:// | * http:// | ||
+ | * [[git: | ||
===== Client 설정 ===== | ===== Client 설정 ===== | ||
줄 24: | 줄 25: | ||
* SourceTree 사용자는 Preferences에서 **" | * SourceTree 사용자는 Preferences에서 **" | ||
+ | ===== Directory별 Include 설정 ===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * '' | ||
+ | [includeIf " | ||
+ | path = .git_personal_projects | ||
+ | </ | ||
+ | * '' | ||
+ | [user] | ||
+ | email = kwon37xi@gmail.com | ||
+ | name = KwonNamSon | ||
+ | </ | ||
+ | * **includeIf 는 맨 마지막에 두는 것이 좋다.** 이 이후에 나오는 설정은 '' | ||
===== Ubuntu Git 최신 버전 ===== | ===== Ubuntu Git 최신 버전 ===== | ||
* https:// | * https:// | ||
줄 45: | 줄 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 | ||
줄 51: | 줄 66: | ||
</ | </ | ||
+ | ===== Password with kde ===== | ||
+ | * [[https:// | ||
===== Windows ===== | ===== Windows ===== | ||
* [[https:// | * [[https:// | ||
줄 119: | 줄 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 ===== | ||
줄 162: | 줄 181: | ||
* [[linux: | * [[linux: | ||
* [[http:// | * [[http:// | ||
+ | mkdir -p ~/ | ||
curl https:// | curl https:// | ||
줄 173: | 줄 193: | ||
export PS1=" | export PS1=" | ||
+ | </ | ||
+ | |||
+ | ===== bash auto completion ===== | ||
+ | * 대부분의 리눅스는 git 을 설치하면 이미 bash-completion 설정 파일을 함께 설치한다.< | ||
+ | source / | ||
+ | # or | ||
+ | source / | ||
+ | </ | ||
+ | * [[https:// | ||
+ | * Arch/ | ||
+ | sudo pacman -S git bash-completion | ||
+ | # shell 재실행 | ||
</ | </ | ||
줄 216: | 줄 248: | ||
</ | </ | ||
- | ===== 파일 chmod 변경 - 특히 실행(x) 권한 ===== | + | ===== Windows 등에서 |
* [[https:// | * [[https:// | ||
- | * '' | + | |
- | * '' | + | |
- | * '' | + | * '' |
+ | * '' | ||
* commit 한다. | * commit 한다. | ||
줄 250: | 줄 283: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// |