Difference between revisions of "GitHub token"
Jump to navigation
Jump to search
↑ https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token
Line 1: | Line 1: | ||
<code>Settings -> Developer settings</code><ref> https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token</ref> | <code>Settings -> Developer settings</code><ref> https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token</ref> | ||
+ | |||
+ | ? What account do you want to log into? GitHub Enterprise Server | ||
+ | ? GHE hostname: github.youthostname.com | ||
+ | ? What is your preferred protocol for Git operations? HTTPS | ||
+ | ? Authenticate Git with your GitHub credentials? Yes | ||
+ | ? How would you like to authenticate GitHub CLI? Paste an authentication token | ||
+ | Tip: you can generate a Personal Access Token here https://github.yourname.com/settings/tokens | ||
+ | The minimum required scopes are 'repo', 'read:org', 'workflow' (GHE 3.0+). | ||
+ | ? Paste your authentication token: *********************** | ||
+ | - gh config set -h github.yourname git_protocol https | ||
+ | ✓ Configured git protocol | ||
+ | ✓ Logged in as youruser | ||
== See also == | == See also == | ||
− | * | + | * [[PAT]] |
− | |||
* {{GitHub}} | * {{GitHub}} | ||
− | |||
− |
Revision as of 10:00, 19 January 2024
Settings -> Developer settings
[1]
? What account do you want to log into? GitHub Enterprise Server ? GHE hostname: github.youthostname.com ? What is your preferred protocol for Git operations? HTTPS ? Authenticate Git with your GitHub credentials? Yes ? How would you like to authenticate GitHub CLI? Paste an authentication token Tip: you can generate a Personal Access Token here https://github.yourname.com/settings/tokens The minimum required scopes are 'repo', 'read:org', 'workflow' (GHE 3.0+). ? Paste your authentication token: *********************** - gh config set -h github.yourname git_protocol https ✓ Configured git protocol ✓ Logged in as youruser
See also
- PAT
- GitHub, GitHub Actions, GitHub Actions Runner, Events, CodeQL, GitHub Desktop, GitHub organization, base permissions, GitHub Copilot,
.gitignore
, GitHub Codespaces, GitHub Marketplace, GitHub Apps, GitHub Enterprise Server, GitHub CLI (gh
), Dependabot, GitHub security,.github/
, GitHub code scanning, GitHub Pages, GitHub Packages, GitHub Advanced Security, GitHub Mobile, GitHub Importer, GitHub versions, SSH keys
Advertising: