Difference between revisions of "Gh auth status"

From wikieduonline
Jump to navigation Jump to search
 
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
 +
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 23:
 
   - Token: gho_************************************
 
   - Token: gho_************************************
 
   - Token scopes: '[[gist]]', '[[read:org]]', '[[repo]]', '[[workflow]]'
 
   - Token scopes: '[[gist]]', '[[read:org]]', '[[repo]]', '[[workflow]]'
 +
 +
  
 
  gh auth status
 
  gh auth status

Latest revision as of 16:56, 18 February 2024

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]

Advertising: