nivertius-git-rc/.gitconfig
2017-02-01 11:38:43 +01:00

40 lines
892 B
INI

[user]
name = Paweł Płazieński
email = nivertius@gmail.com
[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 = simple
[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 --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
unstage = reset -q HEAD --
discard = checkout --
uncommit = reset --mixed HEAD~
amend = commit --amend
[core]
editor = vim
[diff]
tool = meld
[merge]
tool = meld