Skip to content

Instantly share code, notes, and snippets.

@codysoyland
Created April 1, 2010 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codysoyland/352015 to your computer and use it in GitHub Desktop.
Save codysoyland/352015 to your computer and use it in GitHub Desktop.
[user]
email = codysoyland@gmail.com
name = Cody Soyland
[color]
ui = true
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[color]
diff = auto
status = auto
branch = auto
[alias]
st = status
ci = commit
co = checkout
br = branch
dc = diff --cached
l = log --graph --topo-order --decorate --first-parent
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
intercommit = !sh -c 'git show "$0" > .git/commit1 && git show "$1" > .git/commit2 && interdiff .git/commit[12] | less -FRS'
graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format: %h -> { %p }' \"$@\" | sed 's/[0-9a-f][0-9a-f]*/\"&\"/g' ; echo '}'; }; f"
[pager]
color = true
[status]
color = auto
[merge]
tool = opendiff
[diff]
renamelimit = 0
[rerere]
enabled = 1
[branch]
autosetuprebase = always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment