Moritz Halbritter's Personal Blog
if you’re using git on https://
hosted repositories, it will sometimes ask you for a password. If you are
lazy and don’t want to type it every time, there’s a concept called credential storage.
I looked for a way to store the passwords which I type into git in the gnome keyring, because I don’t like it when they
are stored in a plaintext file (which they are, if you use credential.helper store
).
On Fedora, this is quite simple:
dnf install git-credential-libsecret
and put this in your .gitconfig
:
[credential]
helper = libsecret
Done. You can check if your password is really in there by running seahorse
, the UI for the gnome keyring.