1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:02:09 +02:00
tldr/pages/common/glab-auth.md
Lena 7ca1069d76
pages/*: reword descriptions without using "a CLI for" etc. (#10437)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-07-16 19:23:40 +02:00

375 B

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}}