Skip to content

Instantly share code, notes, and snippets.

@keirlawson
Created February 21, 2016 10:36
Show Gist options
  • Save keirlawson/0e3ac20728f9a0535eec to your computer and use it in GitHub Desktop.
Save keirlawson/0e3ac20728f9a0535eec to your computer and use it in GitHub Desktop.
Install gnome-keyring git credential helper in Ubuntu
sudo apt-get install libgnome-keyring-dev
cd /usr/share/doc/git/contrib/credential/gnome-keyring
sudo make
sudo ln -s /usr/share/doc/git/contrib/credential/gnome-keyring/git-credential-gnome-keyring /usr/lib/git-core/
@dafanasiev
Copy link

modern version:

sudo apt-get install 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

@keirlawson
Copy link
Author

Thanks!

@kassi-bertrand
Copy link

Thanks!

@Josh-Darling13
Copy link

This:

git config --global credential.helper /usr/share/doc/git/contrib/credential/libsecret/git-credential-libsecret

Does this:

warning: credential.helper has multiple values
error: cannot overwrite multiple values with a single value
Use a regexp, --add or --replace-all to change credential.helper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment