From aac892abd0dd05e58121fa218153389fd9a4255c Mon Sep 17 00:00:00 2001 From: Reinhart Previano Koentjoro Date: Sat, 5 Feb 2022 19:35:14 +0700 Subject: [PATCH] glab-auth: add page (#7612) --- pages/common/glab-auth.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/glab-auth.md diff --git a/pages/common/glab-auth.md b/pages/common/glab-auth.md new file mode 100644 index 000000000..ba5e6e5db --- /dev/null +++ b/pages/common/glab-auth.md @@ -0,0 +1,20 @@ +# glab auth + +> Authenticate with a GitLab host from the command-line. +> More information: . + +- 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}}`