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}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.