Forrest logo
back to the glab tool

glab-alias:tldr:c793c

glab-alias: List all the aliases `glab` is configured to use.
$ glab alias list
try on your machine

The command "glab alias list" is used to view a list of all the available alias commands in the glab (GitLab CLI) tool.

GitLab CLI is a command-line tool that allows users to interact with GitLab repositories and perform various GitLab-related operations through the command line.

By running "glab alias list", you can see a list of all the aliases that have been configured in your glab tool. Aliases are shortened versions of commands that can be created, so you can execute complex or frequently-used commands with simple and shorter aliases.

For example, you might have set an alias 'pr' for the command 'glab merge request', or 'mr' for 'glab merge'. The output of the "glab alias list" command will display all such aliases along with their corresponding full commands.

By referring to this list, you can quickly identify the aliases you have defined and streamline your workflow by using them instead of typing the full commands every time.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the glab tool