glab auth
Authenticate with a GitLab host. More information: https://gitlab.com/gitlab-org/cli/-/blob/main/docs/source/auth/_index.md.
- Log in with interactive prompt:
glab auth login
- Log in with a token:
glab auth login
- Check authentication status:
glab auth status
- Log in to a specific GitLab instance:
glab auth login
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
