marcosdsanchez marcosdsanchez - 1 year ago 132
Git Question

How to use git with gnome-keyring integration

Git 1.8.0 supports integration with gnome-keyring.

After reading the docs about the git credentials helpers:

I was not able to find a way to use this new feature. How can I integrate it?
I'm using Archlinux with git installed from Archlinux's repository. (git 1.8.0)

Answer Source

Git 1.8.0 comes with gnome-keyring support but the binary needs to be compiled for your platform.

This is what solved it for me in Archlinux:

$ sudo pacman -S libgnome-keyring
$ cd /usr/share/git/credential/gnome-keyring
$ make
$ git config --global credential.helper /usr/share/git/credential/gnome-keyring/git-credential-gnome-keyring

@VonC solution was close, but the git config command should point to the executable. That's why it was not working for me.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download