dotfiles/.gitconfig

21 lines
657 B
INI
Raw Permalink Normal View History

2011-04-03 10:15:44 +00:00
[core]
editor = vim
ignorecase = true
[user]
name = Alexandre Dulaunoy
email = a@foo.be
signingkey = 44E6CBCD
[color]
diff = auto
status = auto
branch = auto
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format: %h -> { %p }' \"$@\" | sed 's/[0-9a-f][0-9a-f]*/\"&\"/g' ; echo '}'; }; f"
2011-04-03 12:29:53 +00:00
r = remote -v show
2011-04-25 07:55:01 +00:00
w = whatchanged
# from progit.org
searchcommits = "!f() { query=\"$1\"; shift; git whatchanged -S\"$query\" \"$@\"; }; f \"$@\""