github权限设置_使用SSO来访问和操作Github的仓库

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

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

d2a2af022692e5647d929d1ae31b783d.png

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

1751d9d2793f627e80f2d1f5a0fea9af.png

点击Generate token 生成:

95b6bd7b16efe50c481fcb50ee5a5406.png
03ae58706305f5057224c28417f0b68f.png

(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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值