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}}`