正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

glab auth logout

Log out from a GitLab instance.

Synopsis

Logs out from a GitLab instance. The credentials for the specified instance are removed from the global configuration file (default ~/.config/glab-cli/config.yml) and from the operating system’s keyring, if a token was stored there.

glab auth logout [flags]

Examples

# Log out of a specific instance
glab auth logout --hostname gitlab.example.com

Options

      --hostname string   The hostname of the GitLab instance.

Options inherited from parent commands

  -h, --help   Show help for this command.