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 +