mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 12:45:59 +02:00
gh-auth: add refresh examples (#5306)
This commit is contained in:
parent
1b008c21d3
commit
d9a692b950
1 changed files with 8 additions and 0 deletions
|
@ -22,3 +22,11 @@
|
|||
- Login with a specific GitHub Enterprise Server:
|
||||
|
||||
`gh auth login --hostname {{github.example.com}}`
|
||||
|
||||
- Refresh the session to ensure authentication credentials have the correct minimum scopes (removes additional scopes requested previously):
|
||||
|
||||
`gh auth refresh`
|
||||
|
||||
- Expand the permission scopes:
|
||||
|
||||
`gh auth refresh --scopes {{write:org,read:public_key}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue