Skip to content

Instantly share code, notes, and snippets.

@Console32
Created November 14, 2021 08:20
Show Gist options
  • Save Console32/0159b5589aff8c81e580668b72dbefd1 to your computer and use it in GitHub Desktop.
Save Console32/0159b5589aff8c81e580668b72dbefd1 to your computer and use it in GitHub Desktop.
GIt History (LS / LSA)
[alias]
lsa = log --graph --decorate --format=\"%C(yellow)%h %Cblue%ad %Cgreen%<(8,trunc)%aN%C(auto)%d %Creset%<(80,trunc)%s\" --date=short --all -n 10
ls = log --graph --decorate --format=\"%C(yellow)%h %Cblue%ad %Cgreen%<(8,trunc)%aN%C(auto)%d %Creset%<(80,trunc)%s\" --date=short -n 10
lola = log --graph --decorate --format=\"%C(yellow)%h %Cblue%ad %Cgreen%<(8,trunc)%aN%C(auto)%d %Creset%<(80,trunc)%s\" --date=short --all
lol = log --graph --decorate --format=\"%C(yellow)%h %Cblue%ad %Cgreen%<(8,trunc)%aN%C(auto)%d %Creset%<(80,trunc)%s\" --date=short
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment