Skip to content

Instantly share code, notes, and snippets.

@eFrane
Created May 10, 2011 11:21
Show Gist options
  • Save eFrane/964294 to your computer and use it in GitHub Desktop.
Save eFrane/964294 to your computer and use it in GitHub Desktop.
My .gitconfig
[user]
email = [email protected]
name = Stefan Graupner
[color]
diff = auto
status = auto
branch = auto
ui = auto
[core]
compression = 7
[alias]
graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format: %h -> { %p }' \"$@\" | sed 's/[0-9a-f][0-9a-f]*/\"&\"/g' ; echo '}'; }; f"
dotty = "!git graphviz | dotty /dev/stdin"
ci = commit
co = checkout
cl = clone
ru = remote update
svnup = svn fetch
svnci = svn dcommit
s = status
st = status --porcelain -u .
subdo = submodule foreach git
origp = push origin --all
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
[pack]
threads = 4
[gist]
browse = no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment