gh auth status

1 개요[ | ]

gh auth status
$ gh auth status
github.com
  ✓ Logged in to github.com as user01 (GH_TOKEN)
  ✓ Git operations for github.com configured to use https protocol.
  ✓ Token: ghp_************************************
  ✓ Token scopes: read:org, repo, workflow, write:packages
$ gh auth status
github.com
  ✓ Logged in to github.com as hello (/root/.config/gh/hosts.yml)
  ✓ Git operations for github.com configured to use https protocol.
  ✓ Token: *******************
$ gh auth status
github.com
  X github.com: authentication failed
  - The github.com token in GITHUB_TOKEN is no longer valid.

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}