You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.
glab config init is set to be depreciated in favour of glab auth login.
Though, it is still available in earlier releases including v1.11.1, It will be removed from v1.12+.
It is recommended that you use glab auth login for the following reasons:
Passwords are masked when using glab auth login but are unmasked in glab config init.
glab auth login has additional options which are useful
glab auth login has --stdin option which allows to read token from file
$ glab help auth login
...
USAGE
glab auth login [flags]
FLAGS
-h, --hostname string The hostname of the GitLab instance to authenticate with
--stdin Read token from standard input
-t, --token string Your GitLab access token
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
glab config init
is set to be depreciated in favour of glab auth login.Though, it is still available in earlier releases including v1.11.1, It will be removed from v1.12+.
It is recommended that you use
glab auth login
for the following reasons:glab config init
.glab auth login
has additional options which are useful$ glab help auth login ... USAGE glab auth login [flags] FLAGS -h, --hostname string The hostname of the GitLab instance to authenticate with --stdin Read token from standard input -t, --token string Your GitLab access token
Check https://github.com/profclems/glab#authentication
Beta Was this translation helpful? Give feedback.
All reactions