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/.gitconfig | 2 -- git/global-gitconfig | 19 +++++++++++++++++++ git/tribe29 | 2 ++ 3 files changed, 21 insertions(+), 2 deletions(-) delete mode 100644 git/.gitconfig create mode 100644 git/global-gitconfig create mode 100644 git/tribe29 (limited to 'git') diff --git a/git/.gitconfig b/git/.gitconfig deleted file mode 100644 index 4e47e4b..0000000 --- a/git/.gitconfig +++ /dev/null @@ -1,2 +0,0 @@ -[user] - email = oscar.najera@tribe29.com \ No newline at end of file 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/tribe29 b/git/tribe29 new file mode 100644 index 0000000..4e47e4b --- /dev/null +++ b/git/tribe29 @@ -0,0 +1,2 @@ +[user] + email = oscar.najera@tribe29.com \ No newline at end of file -- cgit v1.2.3