From 05c82a113017e8803e3b38f6924e0e0c7fa133c7 Mon Sep 17 00:00:00 2001 From: Alexander Schmidt Date: Fri, 26 May 2017 22:23:44 -0500 Subject: [PATCH] Added gitconfig --- .gitconfig | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .gitconfig diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..bc1dc03 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,32 @@ +[core] + pager = less -q + +[color] + ui = auto + +[user] + email = zyeryi@gmail.com + name = Alexander Schmidt + +[alias] + ls = log -n 16 --pretty=format:"%C(yellow)%h\\ %C(cyan)[%cn]\\ %C(reset)%s\\ %C(red)%d" --decorate + lo = log --pretty=format:"%C(yellow)%h\\ %C(cyan)[%cn]\\ %C(reset)%s\\ %C(red)%d" --decorate + ll = log --pretty=format:"%C(yellow)%h\\ %C(cyan)[%cn]\\ %C(reset)%s\\ %C(red)%ad" --decorate --date=short --stat + tree = log --pretty=format:"%C(yellow)%h\\ %C(cyan)[%cn]\\ %C(reset)%s\\ %C(red)%d" --decorate --graph + graph = log --graph --date-order --all --pretty=format:'%h %Cred%d %Cgreen%ad %Cblue%cn %Creset%s' --date=short + unstage = reset HEAD + st = status + ch = checkout + ci = commit + br = branch + +[help] + autocorrect = 1 + +[diff] + tool = vimdiff + algorithm = histogram + compactionHeuristic = true + +[merge] + tool = vimdiff