Skip to content

Instantly share code, notes, and snippets.

@chesster
Created March 7, 2014 09:46
Show Gist options
  • Save chesster/9408605 to your computer and use it in GitHub Desktop.
Save chesster/9408605 to your computer and use it in GitHub Desktop.
[color]
ui = true
[alias]
lg = !"git lg1"
st = status
lg1 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
lg2 = log --graph --all --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(bold white)— %an%C(reset)' --abbrev-commit
ci = commit
co = checkout
df = diff
ign = ls-files -o -i --exclude-standard
[core]
editor = vim
excludesfile = ~/.gitignore
[user]
name = Lukasz Malik
email = [email protected]
[github]
user = chesster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment