Skip to content

Instantly share code, notes, and snippets.

@Console32
Created February 21, 2021 08:12
Show Gist options
  • Save Console32/9039b15d410ff1446caab3438ae7fcc8 to your computer and use it in GitHub Desktop.
Save Console32/9039b15d410ff1446caab3438ae7fcc8 to your computer and use it in GitHub Desktop.
Git ls & lol MacOs
[alias]
lsa = "!git -P 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 = "!git -P 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