Last active
July 6, 2026 10:31
-
-
Save ricardogarfe/c08731f578edc3ec54048375fcb206b5 to your computer and use it in GitHub Desktop.
update git lg after ten years
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [color] | |
| ui = auto | |
| branch = auto | |
| diff = auto | |
| status = auto | |
| [core] | |
| pager = less -FRX | |
| [alias] | |
| lg = lg1 | |
| lg1 = lg1-specific | |
| lg2 = lg2-specific | |
| lg3 = lg3-specific | |
| lg1-specific = log --color=always --graph --abbrev-commit --decorate --date=relative --pretty=format:'%C(bold yellow)%h%C(reset) %C(bold red)%d%C(reset) %C(green)(%ar)%C(reset) %C(cyan)%s%C(reset) %C(blue)- %an%C(reset)' | |
| lg2-specific = log --color=always --graph --abbrev-commit --decorate --date=relative --pretty=format:'%C(bold yellow)%h%C(reset) %C(bold red)%d%C(reset)%n%C(green)(%ar)%C(reset) %C(cyan)%aD%C(reset)%n%C(bold cyan)%s%C(reset) %C(blue)- %an%C(reset)' | |
| lg3-specific = log --color=always --graph --abbrev-commit --decorate --date=relative --pretty=format:'%C(bold yellow)%h%C(reset) %C(bold red)%d%C(reset)%n%C(green)authored: %aD%C(reset)%n%C(blue)author: %an <%ae>%C(reset)%n%C(magenta)committed: %cD%C(reset)%n%C(cyan)committer: %cn <%ce>%C(reset)%n%C(bold cyan)%s%C(reset)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment