gh auth status
Jump to navigation
Jump to search
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: