Auth Status
ghqc auth status shows the local ghqc auth store and the authentication sources available for the selected host.
ghqc auth statusWhat It Shows
Section titled “What It Shows”The output is split into two sections:
Auth Store, showing the local store directory and any hosts with stored tokensAuth Sources, showing the selected repository host and every auth source checked for that host
The active source is highlighted according to the normal priority order.
Source Priority
Section titled “Source Priority”When more than one source is available, ghqc prefers them in this order:
ghqcauth storeGITHUB_TOKENgh auth token- stored GitHub CLI credentials
- Git credential manager
.netrc
Example
Section titled “Example”=== Auth Store =====================store directory: /home/user/.local/share/ghqc/authstored tokens:▶ github.com (ghp_abcd...wxyz)
=== Auth Sources ===================repository host: github.com
available auth sources▶ ✓ ghqc auth store (ghp_abcd...wxyz) ✓ GITHUB_TOKEN (ghp_1234...7890) ✗ gh auth token ✗ gh stored auth ✗ git credential manager ✗ .netrcOptions
Section titled “Options”| Flag | Description |
|---|---|
--host | GitHub host to inspect, such as github.com or ghe.example.com. |
- Host resolution uses
--hostfirst, then the current repository remote. - This is the best first command to run when GitHub-backed features are failing unexpectedly.