-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f57bb1
commit aac892a
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}}` |