문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
git:credential [2020/08/17 19:39] kwon37xi |
git:credential [2021/02/08 12:23] (현재) kwon37xi |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== git credential ====== | ====== git credential ====== | ||
* [[: | * [[: | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | ===== http(s) 기반 인증 기본 사용자명 지정 ===== | ||
+ | < | ||
+ | [credential " | ||
+ | username = < | ||
+ | </ | ||
+ | |||
+ | ===== Password Cache ===== | ||
+ | * HTTP(S) 프로토콜의 경우 명령행에서는 비밀번호 저장해두기가 곤란하다. 그래서 캐시를 사용한다. | ||
+ | * [[http:// | ||
+ | * Linux에서는 다음 처리로 간편하게 캐시가 끝난다.< | ||
+ | # 기본 캐시 시간 15분 | ||
+ | git config --global credential.helper cache | ||
+ | |||
+ | # 캐시 시간 지정 | ||
+ | git config --global credential.helper 'cache --timeout=7200' | ||
+ | </ | ||
+ | |||
+ | ==== core.askPass, | ||
+ | <note warning> | ||
+ | 경고 : [[: | ||
+ | </ | ||
+ | |||
+ | |||
+ | * helper 대신 '' | ||
+ | * helper 에 비번에 없고 '' | ||
+ | |||
+ | ===== libsecret 기반 gnome-keyring credential ===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * '' | ||
+ | * [[https:// | ||
+ | <code sh> | ||
+ | sudo apt-get install libsecret-1-0 libsecret-1-dev | ||
+ | cd / | ||
+ | sudo make | ||
+ | git config --global credential.helper / | ||
+ | </ | ||
+ | |||
+ | ===== SSH 인증 저장소 ===== | ||
+ | * [[https:// | ||
+ | |||
+ | ===== Password with Gnome-Keyring : Deprecated from 2014 ===== | ||
+ | * deprecated. | ||
+ | * 사용하지 말 것. '' | ||
+ | * [[http:// | ||
+ | |||
+ | ===== Password with kde ===== | ||
+ | * [[linux: | ||
+ | |||
+ | ===== Windows ===== | ||
+ | * [[git: | ||
+ | |||
+ | ===== 참조 ===== | ||
+ | * [[https:// | ||
+ | * https:// | ||
+ | * [[https:// |