문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 다음 판 양쪽 다음 판 | ||
git [2019/06/08 21:43] kwon37xi [Directory별 Include 설정] |
git [2020/04/01 16:07] kwon37xi [Bash Prompt] |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== git ====== | ====== git ====== | ||
* http:// | * http:// | ||
+ | * [[git: | ||
===== Client 설정 ===== | ===== Client 설정 ===== | ||
줄 28: | 줄 29: | ||
* [[https:// | * [[https:// | ||
* '' | * '' | ||
- | [includeIf " | + | [includeIf " |
path = .git_personal_projects | path = .git_personal_projects | ||
</ | </ | ||
줄 132: | 줄 133: | ||
===== 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: | 줄 190: | ||
export PS1=" | export PS1=" | ||
+ | </ | ||
+ | |||
+ | ===== bash auto completion ===== | ||
+ | * [[https:// | ||
+ | * Arch/ | ||
+ | sudo pacman -S git bash-completion | ||
+ | # shell 재실행 | ||
</ | </ | ||
줄 230: | 줄 240: | ||
</ | </ | ||
- | ===== 파일 chmod 변경 - 특히 실행(x) 권한 ===== | + | ===== Windows 등에서 |
* [[https:// | * [[https:// | ||
- | * '' | + | |
- | * '' | + | |
- | * '' | + | * '' |
+ | * '' | ||
* commit 한다. | * commit 한다. | ||
줄 264: | 줄 275: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// |