gh auth refresh --scopes 'repo,read:org'

Category: GitHub CLI

gh auth refresh --scopes 'repo,read:org'

Refresh auth and request specific OAuth scopes

Refreshes auth and requests specific OAuth permission scopes (repo and read:org).
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.