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