문서의 이전 판입니다!
[credential "https://gist.github.com"] username = <사용자명>
# 기본 캐시 시간 15분 git config --global credential.helper cache # 캐시 시간 지정 git config --global credential.helper 'cache --timeout=7200'
GIT_ASKPASS
, SSH_ASKPASS
를 사용할 경우에는 username 이 명시돼 있어야 한다. 예) https://xxx@git.com/path/to/repo
gnome-keyring
등에 직접 의존하지 않고 중간 단계인 libsecret
을 거쳐 gnome-keyring
을 사용한다.sudo apt-get install libsecret-1-0 libsecret-1-dev cd /usr/share/doc/git/contrib/credential/libsecret sudo make git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
libsecret
기반으로 gnome-keyring
과 연동한다.