dotfiles/dev/git/gitconfig

48 lines
751 B
Plaintext

[user]
name = Thomas Lovén
email = thomasloven@gmail.com
[credential]
helper = cache
[color]
ui = auto
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow
frag = magenta
old = red
new = green
[color "status"]
added = yellow
changed = green
untracked = cyan
[push]
default = current
[core]
pager = less -F -X
[alias]
st = status
ci = commit
co = checkout
di = diff
dc = diff --cached
wd = diff --word-diff=color
amend = commit --amend
aa = add --all
b = branch
updateall = submodule foreach 'git pull'
l = !prettygit
p = "!echo $PATH"
la = !git l --all
r = !git l -30
ra = !git r --all
[merge]
tool = vimdiff