From 956a357a3505f7a4e5dc54490a187080f2e616f5 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Tue, 23 Jul 2019 13:13:10 +0200 Subject: [PATCH] Added wsl gitconfig --- git/gitconfig | 38 ++++++++++++++++++++++++++++++++++++++ git/install.sh | 4 ++++ 2 files changed, 42 insertions(+) create mode 100644 git/gitconfig create mode 100755 git/install.sh diff --git a/git/gitconfig b/git/gitconfig new file mode 100644 index 0000000..028ef0c --- /dev/null +++ b/git/gitconfig @@ -0,0 +1,38 @@ +[user] + email = changeme + name = changeme +[push] + default = simple +[core] + editor = vim + pager = less -x1,5 + whitespace = cr-at-eol +[rebase] + autostash = true +[color "diff"] + meta = yellow bold + frag = magenta bold + old = red bold + new = 64 + whitespace = red reverse +[mergetool] + keepBackup = false +[diff] + tool = vimdiff +[gitflow] + multi-hotfix = true +[gitflow "branch"] + master = master + develop = develop +[gitflow "prefix"] + feature = feature/ + bugfix = bugfix/ + release = release/ + hotfix = hotfix/ + support = support/ + versiontag = +[log] + date = relative +[format] + pretty = format:%C(yellow)%h %Cblue%>(12)%ad %Cgreen%<(7)%aN%Cred%d %Creset%s + diff --git a/git/install.sh b/git/install.sh new file mode 100755 index 0000000..fc4b583 --- /dev/null +++ b/git/install.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env sh + +ln -svrf gitconfig ~/.gitconfig +