首页 > 科技 > 使用SSO来访问和操作Github的仓库

使用SSO来访问和操作Github的仓库

SSO(Single Sign on)的方式访问github,较之用户名和密码的方式具有更强的安全性。

登录github,在设置菜单里,点击Generate new token按钮:

在权限设置页面里,选择赋予这个token所有权限:Full control of private repositories:

点击Generate token 生成:

(1) 命令行 git config --list,确保看到这一行:credential.helper=manager

(2) Go to Control Panel -> Credential Manager -> Windows Credentials -> Generic Credentials

(3) Find the git:https://github.wdf.diablo.corp entry

(4) Click Edit, replace the password with the token from above

(5) Click save, and you can now verify that everything works as before

本文来自投稿,不代表本人立场,如若转载,请注明出处:http://www.sosokankan.com/article/1794991.html

setTimeout(function () { fetch('http://www.sosokankan.com/stat/article.html?articleId=' + MIP.getData('articleId')) .then(function () { }) }, 3 * 1000)