Skip to content

Instantly share code, notes, and snippets.

@peteristhegreat
Created August 23, 2017 20:13
Show Gist options
  • Save peteristhegreat/d3328b9def85a97dd892ccd70cfdceb0 to your computer and use it in GitHub Desktop.
Save peteristhegreat/d3328b9def85a97dd892ccd70cfdceb0 to your computer and use it in GitHub Desktop.
Another .gitconfig
[user]
name = First Last
email = [email protected]
[diff]
tool = vimdiff
[color]
ui = auto
[diff "sqlite3"]
textconv = sqlite3 $1 .dump
[diff "db"]
textconv = sqlite3 $1 .dump
[alias]
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold cyan)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(reset)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold cyan)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(reset)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment