Skip to content

Instantly share code, notes, and snippets.

@thiagolocatelli
Created September 25, 2020 14:46
Show Gist options
  • Save thiagolocatelli/e1250f960f985f96bf46580e08a2ee66 to your computer and use it in GitHub Desktop.
Save thiagolocatelli/e1250f960f985f96bf46580e08a2ee66 to your computer and use it in GitHub Desktop.
[alias]
plog = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(cyan)<%an>%Creset' --abbrev-commit
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%C(cyan)\\ [%cn]" --decorate
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%C(cyan)\\ [%cn]" --decorate --numstat
lds = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%C(cyan)\\ [%cn]" --decorate --date=short
tlog = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment