Update git config

This commit is contained in:
Tom Willemse 2013-11-03 21:56:00 +01:00
parent 3558131bc9
commit 1a924d9190
3 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,4 @@
*.lisp diff=lisp
*.el diff=lisp
*.org diff=org
*.hy diff=lisp

View file

@ -8,6 +8,7 @@
ui = auto ui = auto
[alias] [alias]
st = status -s st = status -s
su = status -suno
unadd = reset HEAD unadd = reset HEAD
lschanged = diff --name-only lschanged = diff --name-only
history = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative history = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
@ -20,3 +21,7 @@
tool = emerge tool = emerge
[push] [push]
default = simple default = simple
[diff "lisp"]
xfuncname = "^\\([^ ]+ [^ ]+"
[diff "org"]
xfuncname = "^\\*+.*"

1
git/.config/git/ignore Normal file
View file

@ -0,0 +1 @@
.emacs.desktop*