mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 05:22:09 +02:00
glab-auth: add page (#7612)
This commit is contained in:
parent
4f57bb181e
commit
aac892abd0
1 changed files with 20 additions and 0 deletions
20
pages/common/glab-auth.md
Normal file
20
pages/common/glab-auth.md
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# glab auth
|
||||||
|
|
||||||
|
> Authenticate with a GitLab host from the command-line.
|
||||||
|
> 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}}`
|
Loading…
Add table
Reference in a new issue