gh auth refresh
gh auth refresh [flags]
Expand or fix the permission scopes for stored credentials.
The --scopes flag accepts a comma separated list of scopes you want your gh credentials to have. If absent, this command ensures that gh has access to a minimum set of scopes.
- The GitHub host to use for authentication
- Additional authentication scopes for gh to have