Skip to content

Instantly share code, notes, and snippets.

@lappi-lynx
Created September 20, 2017 08:45
Show Gist options
  • Save lappi-lynx/db7db4ff23ea6423bc5d8684ecb3af38 to your computer and use it in GitHub Desktop.
Save lappi-lynx/db7db4ff23ea6423bc5d8684ecb3af38 to your computer and use it in GitHub Desktop.
git log tree
One options:
$ git config --global alias.grog 'log --graph --abbrev-commit --decorate --all
--format=format:"%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(dim white) - %an%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset)"'
Second One:
$ git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment