I\'ve been looking for a good encrypted git credential helper for Linux (something that can store passwords in an encrypted way, and retrieve them later, conforming to the git-c
This is what we have in git sources: https://github.com/git/git/tree/master/contrib/credential
So you can use gnome-keyring
(deprecated), libsecret
or gpg-encrypted .netrc
.
libsecret
could be used with any Linux distribution without GNOME, I believe.
git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret
See https://stackoverflow.com/a/40312117/7976758.
This is how to use gpg-encrypted .netrc
: https://stackoverflow.com/a/18362082/7976758.