Difference between revisions of "Gh auth status"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | |||
+ | gh auth status | ||
+ | You are not logged into any GitHub hosts. To log in, run: [[gh auth login]] | ||
+ | |||
+ | github.com | ||
+ | ✓ Logged in to github.com account your-login ([[keyring]]) | ||
+ | - Active account: true | ||
+ | - Git operations protocol: https | ||
+ | - Token: gho_************************************ | ||
+ | - Token scopes: 'gist', 'read:org', 'repo', 'workflow' | ||
+ | |||
+ | ✓ Logged in to github.com account your-account ([[~/.config/gh/hosts.yml]]) | ||
+ | - Active account: false | ||
+ | - Git operations protocol: https | ||
+ | - Token: gho_************************************ | ||
+ | - Token scopes: 'gist', 'read:org', 'repo', 'workflow' | ||
+ | |||
Line 9: | Line 26: | ||
- Token: gho_************************************ | - Token: gho_************************************ | ||
- Token scopes: '[[gist]]', '[[read:org]]', '[[repo]]', '[[workflow]]' | - Token scopes: '[[gist]]', '[[read:org]]', '[[repo]]', '[[workflow]]' | ||
+ | |||
+ | |||
gh auth status | gh auth status | ||
github.yourhostname.com | github.yourhostname.com | ||
− | ✓ Logged in to github.yourhostnmae.com as username (/root/.config/gh/hosts.yml) | + | ✓ Logged in to github.yourhostnmae.com as username (/root/[[.config/gh/hosts.yml]]) |
✓ Git operations for github.yourhostnmae.com configured to use https protocol. | ✓ Git operations for github.yourhostnmae.com configured to use https protocol. | ||
✓ Token: ghp_***************** | ✓ Token: ghp_***************** | ||
Line 23: | Line 42: | ||
== See also == | == See also == | ||
+ | * {{gh auth status}} | ||
* {{gh auth}} | * {{gh auth}} | ||
* {{gh}} | * {{gh}} | ||
[[Category:GitHub]] | [[Category:GitHub]] |
Latest revision as of 07:48, 25 July 2024
gh auth status You are not logged into any GitHub hosts. To log in, run: gh auth login
github.com ✓ Logged in to github.com account your-login (keyring) - Active account: true - Git operations protocol: https - Token: gho_************************************ - Token scopes: 'gist', 'read:org', 'repo', 'workflow'
✓ Logged in to github.com account your-account (~/.config/gh/hosts.yml) - Active account: false - Git operations protocol: https - Token: gho_************************************ - Token scopes: 'gist', 'read:org', 'repo', 'workflow'
gh auth status github.com ✓ Logged in to github.com account XXXXX (/Users/user/.config/gh/hosts.yml) - Active account: true - Git operations protocol: https - Token: gho_************************************ - Token scopes: 'gist', 'read:org', 'repo', 'workflow'
gh auth status github.yourhostname.com ✓ Logged in to github.yourhostnmae.com as username (/root/.config/gh/hosts.yml) ✓ Git operations for github.yourhostnmae.com configured to use https protocol. ✓ Token: ghp_***************** ✓ Token scopes: admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:pre_receive_hook, admin:public_key, admin:repo_hook, admin:ssh_signing_key, audit_log, delete:packages, delete_repo, gist, notifications, project, repo, user, workflow, write:discussion, write:packages
Related[edit]
See also[edit]
gh auth status
gh auth [ login | status ] --help, act
gh [ auth | repo | secret | issue | workflow | webhook | gh environment | actions | run ] gh auth login, gh pr create, gh --help
Advertising: