0
点赞
收藏
分享

微信扫一扫

github创建token

醉东枫 2022-02-28 阅读 67
github

github官方文案You should create a personal access token to use in place of a password with the command line or with the API.https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token1 进入个人github账户setting

2 点击Developer settings

3  选择Personal access tokens

4点击 Generate new token

5 为你创建的token添加描述

6 选择token有效期时间。可以选择永不过期

7 为token赋予权限。如果从命令行操作仓库,至少选中repo 可以全选

8 点击生成。生成之后先复制下来,后面会用到。注意:离开这个页面,之后你将看不见这个token的明文了。

举报

相关推荐

0 条评论