Git list aliases

In this article let’s discuss about Git list aliases. 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\."

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 : How to clone commit of a branch