aboutsummaryrefslogtreecommitdiffstats
path: root/home-dots/dot-gitconfig
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2022-04-01 19:38:45 +0200
committerÓscar Nájera <hi@oscarnajera.com>2022-04-01 19:38:45 +0200
commit852580d07cfe4c5bc87e0334e0098404c6e192c4 (patch)
tree6a52774a7c48e10f253d326e612bf1b4835a1203 /home-dots/dot-gitconfig
parentaae47e579616791aa4bd7cc915125b6677853a38 (diff)
downloaddotfiles-852580d07cfe4c5bc87e0334e0098404c6e192c4.tar.gz
dotfiles-852580d07cfe4c5bc87e0334e0098404c6e192c4.tar.bz2
dotfiles-852580d07cfe4c5bc87e0334e0098404c6e192c4.zip
single generic git config
Diffstat (limited to 'home-dots/dot-gitconfig')
-rw-r--r--home-dots/dot-gitconfig20
1 files changed, 20 insertions, 0 deletions
diff --git a/home-dots/dot-gitconfig b/home-dots/dot-gitconfig
new file mode 100644
index 0000000..2103c49
--- /dev/null
+++ b/home-dots/dot-gitconfig
@@ -0,0 +1,20 @@
+[user]
+ name = Óscar Nájera
+ email = hi@oscarnajera.com
+[pull]
+ rebase = true
+[push]
+ default = simple
+
+[diff "gpg"]
+ textconv = gpg --no-tty --decrypt
+[diff "pdf"]
+ textconv = pdfinfo
+[diff "org"]
+ xfuncname = "^(\\*+ +.*)$"
+[diff "lisp"]
+ xfuncname = "^[ \t]*(((;+ )|\\((cl-|el-patch-)?def(un|var|macro|method|custom|ine)).*)$"
+[difftool "image_diff"]
+ cmd = compare $REMOTE $LOCAL png:- | montage -font Liberation-Sans -tile 3x -geometry 400x -label "reference" $LOCAL -label "diff" - -label "current--%f" $REMOTE x:
+[diff]
+ algorithm = histogram