mirror of https://github.com/CrimsonTome/tldr.git
glab-auth: add page (#7612)
parent
4f57bb181e
commit
aac892abd0
|
@ -0,0 +1,20 @@
|
|||
# glab auth
|
||||
|
||||
> Authenticate with a GitLab host from the command-line.
|
||||
> More information: <https://glab.readthedocs.io/en/latest/auth>.
|
||||
|
||||
- Log in with interactive prompt:
|
||||
|
||||
`glab auth login`
|
||||
|
||||
- Log in with a token:
|
||||
|
||||
`glab auth login --token {{token}}`
|
||||
|
||||
- Check authentication status:
|
||||
|
||||
`glab auth status`
|
||||
|
||||
- Log in to a specific GitLab instance:
|
||||
|
||||
`glab auth login --hostname {{gitlab.example.com}}`
|
Loading…
Reference in New Issue