사용자 도구

사이트 도구


git:credential

차이

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

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
git:credential [2020/10/03 23:14]
kwon37xi [GIT_ASKPASS, SSH_ASKPASS]
git:credential [2021/02/08 12:23] (현재)
kwon37xi
줄 4: 줄 4:
   * [[https://git-scm.com/docs/git-credential|Git - git-credential Documentation]]   * [[https://git-scm.com/docs/git-credential|Git - git-credential Documentation]]
   * [[https://jlk.fjfi.cvut.cz/arch/manpages/man/gitcredentials.7|gitcredentials(7) — Arch manual pages]]   * [[https://jlk.fjfi.cvut.cz/arch/manpages/man/gitcredentials.7|gitcredentials(7) — Arch manual pages]]
-  * [[https://git-scm.com/book/ko/v2/Git-%EB%8F%84%EA%B5%AC-Credential-%EC%A0%80%EC%9E%A5%EC%86%8C|Git - Credential 저장소]]+  * [[https://git-scm.com/book/ko/v2/Git-%EB%8F%84%EA%B5%AC-Credential-%EC%A0%80%EC%9E%A5%EC%86%8C|Git - Credential 저장소]] : credential helper 만드는 방법에 대해 매우 잘 설명함
  
 ===== http(s) 기반 인증 기본 사용자명 지정 ===== ===== http(s) 기반 인증 기본 사용자명 지정 =====
줄 29: 줄 29:
  
  
-  * helper 대신 ''GIT_ASKPASS'', ''SSH_ASKPASS''를 사용할 경우에는 username 이 명시돼 어야 한다. 예) ''https://xxx@git.com/path/to/repo'' +  * helper 대신 ''core.askPass'', ''GIT_ASKPASS'', ''SSH_ASKPASS''를 사용할수 있다. 
-  * 그렇지 않으면 GUI 로 사용자명을 묻는 화면이 뜨면서 일부 통합 툴에서 문제가 발생했다.+  * helper 에 비번에 없고 ''core.askPass'', ''GIT_ASKPASS'', ''SSH_ASKPASS''가 존재한다면 순서대로 호출해서 비번을 물어본다.
  
 ===== libsecret 기반 gnome-keyring credential ===== ===== libsecret 기반 gnome-keyring credential =====
줄 61: 줄 61:
   * [[https://git.seveas.net/using-credential-helpers-to-cache-passwords.html|Git Cookbook – Using credential helpers to cache passwords]]   * [[https://git.seveas.net/using-credential-helpers-to-cache-passwords.html|Git Cookbook – Using credential helpers to cache passwords]]
   * https://github.com/languitar/pass-git-helper   * https://github.com/languitar/pass-git-helper
 +  * [[https://www.baeldung.com/ops/git-configure-credentials|Configuring git Credentials | Baeldung]]
git/credential.1601734445.txt.gz · 마지막으로 수정됨: 2020/10/03 23:14 저자 kwon37xi