mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-07 03:57:13 +00:00
Update cheatsheets
This commit is contained in:
25
glab-auth
Normal file
25
glab-auth
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user