From fe4f2564d4b7172898c27d2ab129ec65537201da Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Sat, 11 Feb 2017 13:30:07 +0100 Subject: [PATCH] Add git configuration --- tools/vcs/git/gitattributes | 14 ++++++++++++++ tools/vcs/git/gitconfig | 29 +++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 tools/vcs/git/gitattributes create mode 100644 tools/vcs/git/gitconfig diff --git a/tools/vcs/git/gitattributes b/tools/vcs/git/gitattributes new file mode 100644 index 0000000..56437be --- /dev/null +++ b/tools/vcs/git/gitattributes @@ -0,0 +1,14 @@ +*.png diff=nodiff +*.jpg diff=nodiff +*.gif diff=nodiff +*.ttf diff=nodiff +*.woff diff=nodiff +*.eot diff=nodiff +*.svg diff=nodiff +*.swf diff=nodiff +*.fla diff=nodiff +*.m4v diff=nodiff +*.flv diff=nodiff +*.ogv diff=nodiff +*.webm diff=nodiff +*.mp4 diff=nodiff diff --git a/tools/vcs/git/gitconfig b/tools/vcs/git/gitconfig new file mode 100644 index 0000000..14efe2a --- /dev/null +++ b/tools/vcs/git/gitconfig @@ -0,0 +1,29 @@ +[user] + email = vbrandl@riseup.net + name = Valentin Brandl + signingkey = 0x7FB009175885FC76 + +[commit] + gpgsign = true + +[color] + branch = true + diff = true + grep = true + pager = true + status = true + ui = always + +[core] + autocrlf = input + editor = vim + +[push] + default = simple + +[url "git@github.com:"] + insteadOf = gh: + insteadOf = github: + +[github] + user = vbrandl