TortoiseGit 保存用户身份验证/凭据 [英] TortoiseGit save user authentication / credentials

查看:53
本文介绍了TortoiseGit 保存用户身份验证/凭据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法用 TortoiseGit 保存 GITHUB 的用户凭据?

Is there a way to save GITHUB's user credentials with TortoiseGit?

每当我执行推/拉操作时,它都会提示我以下对话框.

It prompts me the below dialog every time whenever I do a push/pull.

我想将我的用户凭据信息保存在某个地方,就像我使用 TortoiseSVN 所做的那样.

I would like to save my user credential information somewhere like how I did with TortoiseSVN.

推荐答案

对于 TortoiseGit 1.8.1.2 或更高版本,有一个用于打开/关闭凭证助手的 GUI.

For TortoiseGit 1.8.1.2 or later, there is a GUI to switch on/off credential helper.

支持git-credential-wincredgit-credential-winstore.

TortoiseGit 1.8.16 添加对 git-credential-manager 的支持(Git Credential Manager,git-credential-winstore 的继承者)

TortoiseGit 1.8.16 add support for git-credential-manager (Git Credential Manager, the successor of git-credential-winstore)

第一次同步时,系统会要求您输入用户名和密码,您输入它们,它们将被保存到 Windows 凭据存储中.下次同步时不会要求输入用户名或密码.

For the first time you sync you are asked for user and password, you enter them and they will be saved to Windows credential store. It won't ask for user or password the next time you sync.

使用方法:右击 →TortoiseGit →设置→吉特→凭据.选择凭据助手:wincred - 仅此存储库/wincred - 当前 Windows 用户

To use: Right click → TortoiseGit → Settings → Git → Credential. Select Credential helper: wincred - this repository only / wincred - current Windows user

这篇关于TortoiseGit 保存用户身份验证/凭据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆