diff options
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 |
commit | 8e48117d80046c490322266ed58bb28a3e0a8682 (patch) | |
tree | 1eeaa1b09cde37679f07ceaa852fb56097a3abad /git/global-gitconfig | |
parent | af9eaa8186b5c482639b617ab6dc04444dfbdf30 (diff) | |
download | dotfiles-8e48117d80046c490322266ed58bb28a3e0a8682.tar.gz dotfiles-8e48117d80046c490322266ed58bb28a3e0a8682.tar.bz2 dotfiles-8e48117d80046c490322266ed58bb28a3e0a8682.zip |
Setup git configs
Diffstat (limited to 'git/global-gitconfig')
-rw-r--r-- | git/global-gitconfig | 19 |
1 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 |