github中git clone须要username和password问题

打印 上一主题 下一主题

主题 907|帖子 907|积分 2721

username:一样寻常指你的昵称

password:一样寻常指Creating a fine-grained personal access token
这个的获取办法如下(注意,在11步的时间,记得打开你堆栈对应的一些access 权限):
Note: Fine-grained personal access token are currently in beta and subject to change. To leave feedback, see the feedback discussion.

  • Verify your email address, if it hasn't been verified yet.
  • In the upper-right corner of any page, click your profile photo, then click Settings.


  • In the left sidebar, click  Developer settings.
  • In the left sidebar, under  Personal access tokens, click Fine-grained tokens.
  • Click Generate new token.
  • Under Token name, enter a name for the token.
  • Under Expiration, select an expiration for the token.
  • Optionally, under Description, add a note to describe the purpose of the token.
  • Under Resource owner, select a resource owner. The token will only be able to access resources owned by the selected resource owner. Organizations that you are a member of will not appear unless the organization opted in to fine-grained personal access tokens. For more information, see "Setting a personal access token policy for your organization."
  • Optionally, if the resource owner is an organization that requires approval for fine-grained personal access tokens, below the resource owner, in the box, enter a justification for the request.
  • Under Repository access, select which repositories you want the token to access. You should choose the minimal repository access that meets your needs. Tokens always include read-only access to all public repositories on GitHub.
  • If you selected Only select repositories in the previous step, under the Selected repositories dropdown, select the repositories that you want the token to access.
  • Under Permissions, select which permissions to grant the token. Depending on which resource owner and which repository access you specified, there are repository, organization, and account permissions. You should choose the minimal permissions necessary for your needs.
    The REST API reference document for each endpoint states whether the endpoint works with fine-grained personal access tokens and states what permissions are required in order for the token to use the endpoint. Some endpoints may require multiple permissions, and some endpoints may require one of multiple permissions. For an overview of which REST API endpoints a fine-grained personal access token can access with each permission, see "ermissions required for fine-grained personal access tokens."
  • Click Generate token.

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
回复

使用道具 举报

0 个回复

倒序浏览

快速回复

您需要登录后才可以回帖 登录 or 立即注册

本版积分规则

我可以不吃啊

金牌会员
这个人很懒什么都没写!

标签云

快速回复 返回顶部 返回列表