From 4323b792df3ea42aff0e4e2b60a58dd4adff6eab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20P=C5=82azie=C5=84ski?= Date: Sun, 5 Feb 2017 14:41:05 +0100 Subject: [PATCH] Add more conveniance options --- .gitconfig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.gitconfig b/.gitconfig index 20a3337..4154c72 100644 --- a/.gitconfig +++ b/.gitconfig @@ -28,7 +28,25 @@ diffdir = difftool --dir-diff graph = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all + stage = add unstage = reset -q HEAD -- + discard = checkout -- uncommit = reset --mixed HEAD~ amend = commit --amend +[diff] + compactionHeuristic = true + indentHeuristic = true + algorithm = histogram +[difftool] + prompt = false +[gc] + autoDetach = false +[interactive] + diffFilter = diff-highlight +[stash] + showPatch = true +[rebase] + autostash = true +[commit] + verbose = true