mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-06 08:17:58 +03:00
glab-auth: add page (#7612)
This commit is contained in:
parent
4f57bb181e
commit
aac892abd0
20
pages/common/glab-auth.md
Normal file
20
pages/common/glab-auth.md
Normal file
@ -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
Block a user