如何在gnome-keyring集成中使用git [英] How to use git with gnome-keyring integration
问题描述
Git 1.8.0支持与gnome-keyring进行整合。
http://www.h-online.com/open/news/item/ Git-1-8-0-can-access-Windows-and-GNOME-keyrings-1733879.html
阅读有关git凭证的文档帮手: http://git-scm.com/docs/gitcredentials.html
我无法找到使用此新功能的方法。我如何整合它?
我在Archlinux的仓库中使用Archlinux安装git。 (git 1.8.0)
Git 1.8.0附带gnome-keyring支持,但二进制文件需要编译
> $ sudo pacman -S libgnome-keyring
$ cd / usr / share / git / credential / gnome -keyring
$ make
$ git config --global credential.helper / usr / share / git /凭证/ gnome-keyring / git-credential-gnome-keyring
@VonC解决方案已关闭,但是git config命令应该指向可执行文件。这就是为什么它不适合我。
Git 1.8.0 supports integration with gnome-keyring.
http://www.h-online.com/open/news/item/Git-1-8-0-can-access-Windows-and-GNOME-keyrings-1733879.html
After reading the docs about the git credentials helpers: http://git-scm.com/docs/gitcredentials.html
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)
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.
这篇关于如何在gnome-keyring集成中使用git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!