aboutsummaryrefslogtreecommitdiffstats
path: root/git
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2020-09-28 22:31:09 +0200
committerÓscar Nájera <hi@oscarnajera.com>2020-09-28 22:31:09 +0200
commit8e48117d80046c490322266ed58bb28a3e0a8682 (patch)
tree1eeaa1b09cde37679f07ceaa852fb56097a3abad /git
parentaf9eaa8186b5c482639b617ab6dc04444dfbdf30 (diff)
downloaddotfiles-8e48117d80046c490322266ed58bb28a3e0a8682.tar.gz
dotfiles-8e48117d80046c490322266ed58bb28a3e0a8682.tar.bz2
dotfiles-8e48117d80046c490322266ed58bb28a3e0a8682.zip
Setup git configs
Diffstat (limited to 'git')
-rw-r--r--git/global-gitconfig19
-rw-r--r--git/tribe29 (renamed from git/.gitconfig)0
2 files changed, 19 insertions, 0 deletions
diff --git a/git/global-gitconfig b/git/global-gitconfig
new file mode 100644
index 0000000..89270c5
--- /dev/null
+++ b/git/global-gitconfig
@@ -0,0 +1,19 @@
+[user]
+ name = Óscar Nájera
+ email = hi@oscarnajera.com
+[pull]
+ rebase = true
+[push]
+ default = simple
+[core]
+ attributesfile = ~/.gitattributes
+[diff "gpg"]
+ textconv = gpg --no-tty --decrypt
+[diff "pdf"]
+ textconv = pdfinfo
+[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
+[includeIf "gitdir:~/git/"]
+ path = ~/git/.gitconfig
diff --git a/git/.gitconfig b/git/tribe29
index 4e47e4b..4e47e4b 100644
--- a/git/.gitconfig
+++ b/git/tribe29