GitHub PhpStorm 的个人令牌
GitHub personal token for PhpStorm
我正在考虑在 PhpStorm 的版本控制部分连接我的 GitHub 帐户。 JetBrains 指南建议使用个人令牌,但由于我是 GitHub 中个人令牌的新手,我不确定在创建个人令牌时我应该选择什么范围以便它可以工作但不需要太多访问。
谁能告诉我应该选择哪些选项以及为什么?
非常感谢所有帮助!
您可以在“About scopes for OAuth Apps”中阅读有关范围的信息。
在您的情况下,如“Pushing to remote Git repository from a build”中所述
The scope needed is public_repo
for a public repository or repo
for a private repository.
- public_repo
Grants read/write access to code, commit statuses, collaborators, and deployment statuses for public repositories and organizations. Also required for starring public repositories.
- repo
Grants read/write access to code, commit statuses, invitations, collaborators, adding team memberships, and deployment statuses for public and private repositories and organizations.
我正在考虑在 PhpStorm 的版本控制部分连接我的 GitHub 帐户。 JetBrains 指南建议使用个人令牌,但由于我是 GitHub 中个人令牌的新手,我不确定在创建个人令牌时我应该选择什么范围以便它可以工作但不需要太多访问。
谁能告诉我应该选择哪些选项以及为什么?
非常感谢所有帮助!
您可以在“About scopes for OAuth Apps”中阅读有关范围的信息。
在您的情况下,如“Pushing to remote Git repository from a build”中所述
The scope needed is
public_repo
for a public repository orrepo
for a private repository.
- public_repo
Grants read/write access to code, commit statuses, collaborators, and deployment statuses for public repositories and organizations. Also required for starring public repositories.
- repo
Grants read/write access to code, commit statuses, invitations, collaborators, adding team memberships, and deployment statuses for public and private repositories and organizations.