From 8e48117d80046c490322266ed58bb28a3e0a8682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Mon, 28 Sep 2020 22:31:09 +0200 Subject: Setup git configs --- git/global-gitconfig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 git/global-gitconfig (limited to 'git/global-gitconfig') 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 -- cgit v1.2.3