Skip to content

Instantly share code, notes, and snippets.

@amiuhle
Last active December 25, 2015 20:59
Show Gist options
  • Save amiuhle/7039806 to your computer and use it in GitHub Desktop.
Save amiuhle/7039806 to your computer and use it in GitHub Desktop.
My git config
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[alias]
co = checkout
s = status
d = diff
lg1 = log --graph --abbrev-commit --decorate --date=relative --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
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg3 = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lg = !"git lg1"
@amiuhle
Copy link
Author

amiuhle commented Oct 19, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment