epcim
3/14/2017 - 2:33 PM

git credential store config

git credential store config

# git config --global credential.helper "cache --timeout=14400"
# git config --global credential.helper osxkeychain
# git config --global credential.helper /usr/share/doc/git/contrib/credential/gnome-keyring/git-credential-gnome-keyring

cat <<-EOF >> ~/.gitconfig
[credential]
    # stored in memory
    helper = cache --timeout=14400
    # stored on filesystem, unencrypted
    # helper = store
EOF