사용자 도구

사이트 도구


git:credential

차이

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

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
git:credential [2020/08/20 13:45]
kwon37xi
git:credential [2021/02/08 12:23] (현재)
kwon37xi
줄 2: 줄 2:
   * [[:git|git]] credential   * [[:git|git]] credential
   * [[https://git-scm.com/docs/gitcredentials|Git - gitcredentials Documentation]]   * [[https://git-scm.com/docs/gitcredentials|Git - gitcredentials 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://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) 기반 인증 기본 사용자명 지정 =====
 +<code>
 +[credential "https://gist.github.com"]
 +        username = <사용자명>
 +</code>
  
 ===== Password Cache ===== ===== Password Cache =====
줄 13: 줄 22:
 git config --global credential.helper 'cache --timeout=7200' git config --global credential.helper 'cache --timeout=7200'
 </code> </code>
 +
 +==== core.askPass, GIT_ASKPASS, SSH_ASKPASS ====
 +<note warning>
 +경고 : [[:intellij_idea|IntelliJ IDEA]]의 경우, 모든 ASKPASS 방식에 대해 오작동하였다. credential helper, SSH Key 를 사용하거나 IntelliJ 내장 해결책을 사용해야만 했다.
 +</note>
 +
 +
 +  * helper 대신 ''core.askPass'', ''GIT_ASKPASS'', ''SSH_ASKPASS''를 사용할수 있다.
 +  * helper 에 비번에 없고 ''core.askPass'', ''GIT_ASKPASS'', ''SSH_ASKPASS''가 존재한다면 순서대로 호출해서 비번을 물어본다.
  
 ===== libsecret 기반 gnome-keyring credential ===== ===== libsecret 기반 gnome-keyring credential =====
줄 42: 줄 60:
 ===== 참조 ===== ===== 참조 =====
   * [[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://www.baeldung.com/ops/git-configure-credentials|Configuring git Credentials | Baeldung]]
git/credential.1597898729.txt.gz · 마지막으로 수정됨: 2020/08/20 13:45 저자 kwon37xi