List search existing aliases

suggest change

You can list existing git aliases using --get-regexp:

git config --get-regexp '^alias\.'

Searching aliases

To search aliases, add the following to your .gitconfig under [alias]:

aliases = !git config --list | grep ^alias\\. | cut -c 7- | grep -Ei --color \"$1\" "#"

Then you can:

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents