사용자 도구

사이트 도구


git

차이

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

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
다음 판 양쪽 다음 판
git [2020/07/25 13:31]
kwon37xi [Client 설정]
git [2020/08/17 19:40]
kwon37xi
줄 2: 줄 2:
   * http://git-scm.com/   * http://git-scm.com/
   * [[git:cheatsheet|Git Cheatsheet]]   * [[git:cheatsheet|Git Cheatsheet]]
 +
 +===== Ubuntu 최신 버전 install =====
 +  * [[https://itsfoss.com/install-git-ubuntu/|How to Install the Latest Git Version on Ubuntu]]
 +  * [[https://launchpad.net/~git-core/+archive/ubuntu/ppa|git-core/ppa]]
 +<code sh>
 +sudo add-apt-repository ppa:git-core/ppa
 +sudo apt update
 +sudo apt install git
 +</code>
  
 ===== Client 설정 ===== ===== Client 설정 =====
줄 45: 줄 54:
 </code> </code>
  
- 
-===== Password Cache ===== 
-  * HTTP(S) 프로토콜의 경우 명령행에서는 비밀번호 저장해두기가 곤란하다. 그래서 캐시를 사용한다. 
-  * [[http://dogfeet.github.io/articles/2013/git-password-caching.html|Git Password Caching]] 
-  * Linux에서는 다음 처리로 간편하게 캐시가 끝난다.<code sh> 
-# 기본 캐시 시간 15분 
-git config --global credential.helper cache 
- 
-# 캐시 시간 지정 
-git config --global credential.helper 'cache --timeout=7200' 
-</code> 
- 
-===== 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> 
--- 오래된것임. 최신화 필요. 
-# on Ubuntu 
-sudo apt-get install libgnome-keyring-dev 
-sudo make --directory=/usr/share/doc/git/contrib/credential/gnome-keyring 
-git config --global credential.helper /usr/share/doc/git/contrib/credential/gnome-keyring/git-credential-gnome-keyring 
-</code> 
- 
-===== Password with kde  ===== 
-  * [[https://www.shawnwang.net/1019.html|Git – How to avoid typing your password repeatedly – Shawn's Blog]] 
-  * [[https://wiki.archlinux.org/index.php/KDE_Wallet|kde wallet]] 
-===== Windows ===== 
-  * [[https://github.com/Microsoft/Git-Credential-Manager-for-Windows|Git credential manager for windows]] 
-  * Unicode 깨짐 문제가 발생함 [[https://stackoverflow.com/questions/41139067/git-log-output-encoding-issues-on-windows-10-command-prompt|git log output encoding issues on Windows 10 command prompt - Stack Overflow]]<code sh> 
-# cmd 
-set LC_ALL=C.UTF-8 
- 
-# powershell 
-$env:LC_ALL='C.UTF-8' 
- 
-# 시스템 환경변수에 넣어둘 것 
-</code> 
  
 ===== Git Diff -> meld ===== ===== Git Diff -> meld =====
git.txt · 마지막으로 수정됨: 2023/10/14 13:47 저자 kwon37xi