nivertius-git-rc/.gitconfig
2017-05-02 10:45:21 +02:00

57 lines
1.1 KiB
INI

# put [user] (name, email) into ~/.gitlocal
[include]
path = .gitlocal
[color]
branch = auto
ui = auto
diff = auto
grep = auto
interactive = auto
showBranch = auto
status = auto
[core]
excludesFile = ~/.gitignore_global
whitespace = trailing-space space-before-tab
[push]
default = current
[pull]
rebase = true
ff = only
[alias]
st = status -s -b
branches = branch -a
tags = tag
stashes = stash list
remotes = remote -v
precommit = diff --diff-algorithm=minimal -w
interactive = add --patch
diffdir = difftool --dir-diff
graph = log --graph --format=format:'%C(yellow)%h%C(reset) %s %C(blue)%an%C(reset) %C(green)(%ar)%C(reset) %C(auto)%d%C(reset)'
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
[mergetool]
keepBackup = false