사용자 도구

사이트 도구


git

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
다음 판 양쪽 다음 판
git [2019/11/06 13:49]
kwon37xi
git [2020/07/22 23:13]
kwon37xi [Password with Gnome-Keyring]
줄 37: 줄 37:
   name = KwonNamSon   name = KwonNamSon
 </code> </code>
 +  * **includeIf 는 맨 마지막에 두는 것이 좋다.** 이 이후에 나오는 설정은 ''includeIf''에 있는 설정을 덮어쓴다.
 ===== Ubuntu Git 최신 버전 ===== ===== Ubuntu Git 최신 버전 =====
   * https://launchpad.net/~git-core/+archive/ubuntu/ppa<code sh>   * https://launchpad.net/~git-core/+archive/ubuntu/ppa<code sh>
줄 59: 줄 59:
 ===== Password with Gnome-Keyring  ===== ===== 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)]]<code sh>   * [[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)]]<code sh>
 +-- 오래된것임. 최신화 필요.
 # on Ubuntu # on Ubuntu
 sudo apt-get install libgnome-keyring-dev sudo apt-get install libgnome-keyring-dev
줄 65: 줄 66:
 </code> </code>
  
 +===== Password with kde  =====
 +  * [[https://www.shawnwang.net/1019.html|Git – How to avoid typing your password repeatedly – Shawn's Blog]]
 ===== Windows ===== ===== Windows =====
   * [[https://github.com/Microsoft/Git-Credential-Manager-for-Windows|Git credential manager for windows]]   * [[https://github.com/Microsoft/Git-Credential-Manager-for-Windows|Git credential manager for windows]]
줄 190: 줄 193:
 export PS1="\[\033[01;32m\][\[\033[01;33m\]\u\[\033[01;36m\]@\[\033[01;31m\]\h\[\033[01;37m\]:\[\033[01;34m\]\w\[\033[01;32m\]\$(__git_ps1)]\[\033[01;35m\]\\$\[\033[00m\] " export PS1="\[\033[01;32m\][\[\033[01;33m\]\u\[\033[01;36m\]@\[\033[01;31m\]\h\[\033[01;37m\]:\[\033[01;34m\]\w\[\033[01;32m\]\$(__git_ps1)]\[\033[01;35m\]\\$\[\033[00m\] "
  
 +</code>
 +
 +===== bash auto completion =====
 +  * 대부분의 리눅스는 git 을 설치하면 이미 bash-completion 설정 파일을 함께 설치한다.<code sh>
 +source /etc/bash_completion.d/git
 +# or
 +source /usr/share/bash-completion/completions/git
 +</code>
 +  * [[https://github.com/bobthecow/git-flow-completion/wiki/Install-Bash-git-completion|Install Bash git completion · bobthecow/git-flow-completion Wiki]]
 +  * Arch/Manjaro <code>
 +sudo pacman -S git bash-completion
 +# shell 재실행
 </code> </code>
  
git.txt · 마지막으로 수정됨: 2023/10/14 13:47 저자 kwon37xi