Git log pretty print aliases

Austin Cunningham
2 min readFeb 13, 2020


A couple of git aliases for git log pretty print. Add them to your .zshrc or .bashrc for usage and source the file e.g. source ~/.zshrc , or restart your terminal for the changes to apply.

gitp — pretty print the last 10 logs

gitpp — pretty print all logs

Output the same as gitp but not limited to 10 commits

gitpa — pretty print include author

gitag — pretty print tags

gitbr — Provide minimal graphical display

Used gitbr a lot in the passed but now use tig which does the same and more

Credit for these alias goes to