glab auth
Authenticate with a GitLab host from the command-line.
- 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}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).