mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 13:22:06 +02:00
20 lines
375 B
Markdown
20 lines
375 B
Markdown
# glab auth
|
|
|
|
> Authenticate with a GitLab host.
|
|
> 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}}`
|