Skip to content

Commit

Permalink
glab-auth: add page (#7612)
Browse files Browse the repository at this point in the history
  • Loading branch information
reinhart1010 authored Feb 5, 2022
1 parent 4f57bb1 commit aac892a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pages/common/glab-auth.md
Original file line number Diff line number Diff line change
@@ -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}}`

0 comments on commit aac892a

Please sign in to comment.