[credential "https://gist.github.com"]
username = <사용자명>
# 기본 캐시 시간 15분 git config --global credential.helper cache # 캐시 시간 지정 git config --global credential.helper 'cache --timeout=7200'
core.askPass, GIT_ASKPASS, SSH_ASKPASS를 사용할수 있다.core.askPass, GIT_ASKPASS, SSH_ASKPASS가 존재한다면 순서대로 호출해서 비번을 물어본다.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과 연동한다.