Git list alias commands

In this article let’s discuss about Git list alias commands. Let’s go through the following methods without any delay.

Method 1:

# Alias to list all saved alias
git config --global alias.alias "!git config --get-regexp ^alias\."

#then
git alias

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar by have a try!

Method 2 :

$ git config --get-regexp alias

Hope the above solution works.

Realted Posts : List of global git config