Update git config
This commit is contained in:
parent
3558131bc9
commit
1a924d9190
3 changed files with 10 additions and 0 deletions
4
git/.config/git/attributes
Normal file
4
git/.config/git/attributes
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
*.lisp diff=lisp
|
||||||
|
*.el diff=lisp
|
||||||
|
*.org diff=org
|
||||||
|
*.hy diff=lisp
|
|
@ -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
1
git/.config/git/ignore
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.emacs.desktop*
|
Loading…
Reference in a new issue