Skip to content

akshaybabloo/git-alias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prettify Git Alias

This is literally the most over-engineered thing I've ever made. It prints out a list of git aliases in a pretty way. It's a bit of a joke, but it's also useful.

Usage

Add the binary file to your path, and then run git-alias. It will print out a list of aliases, and the commands they run.

$ git-alias
# or, add it to your alias
$ git config --global alias.la '!git-alias'
$ git la

Search by using the --search or -s flag.

$ git-alias -s "log"

Override the default Git configuration file by using the --config flag.

$ git-alias --config "~/.gitconfig"