Skip to content

Instantly share code, notes, and snippets.

@Fastjur
Created June 9, 2020 08:08
Show Gist options
  • Save Fastjur/1fccb1733efe115b718cee25c23c4794 to your computer and use it in GitHub Desktop.
Save Fastjur/1fccb1733efe115b718cee25c23c4794 to your computer and use it in GitHub Desktop.
Better git log & conflicts alias
[alias]
conflicts = diff --name-only --diff-filter=U
l=log --graph --all --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset %s %C(white)- %an, %ar%Creset'
ll=log --stat --abbrev-commit
lg=log --color --graph --pretty=format:'%C(bold white)%h%Creset -%C(bold green)%d%Creset %s %C(bold green)(%cr)%Creset %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
llg=log --color --graph --pretty=format:'%C(bold white)%H %d%Creset%n%s%n%+b%C(bold blue)%an <%ae>%Creset %C(bold green)%cr (%ci)' --abbrev-commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment