Skip to content

Instantly share code, notes, and snippets.

@EricLondon
Last active June 6, 2016 11:14
Show Gist options
  • Save EricLondon/2367107 to your computer and use it in GitHub Desktop.
Save EricLondon/2367107 to your computer and use it in GitHub Desktop.
~/.gitconfig
[user]
name = Eric London
email = git@ericlondon.com
[core]
excludesfile = /Users/Eric/.gitignore
[alias]
lg = log --graph --pretty=format:'%C(red)%h%Creset%C(yellow)%d%Creset %C(bold blue)%an%Creset %C(green)%cr%Creset %s' --abbrev-commit --date=relative --all
lg2 = log --graph --pretty=format:'%C(red)%h%Creset%C(yellow)%d%Creset %C(bold blue)%an%Creset %C(green)%cr%Creset %s' --abbrev-commit --date=relative
[color]
ui = auto
[push]
default = simple
[core]
editor = sublime -w
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment