dotfiles/.gitconfig
2013-03-12 22:36:43 +01:00

21 lines
507 B
INI

[user]
name = nojhan
email = nojhan@nojhan.net
[alias]
up = pull origin
st = status
di = diff
co = checkout
# create branch
cb = checkout -b
ci = commit -a -v
br = branch
sta = stash
[core]
# use less as pager
# -R is necessary to display colors in less
# the '+' calls a command at start, that will jump to the first diff section
# then, you just have to type 'n' to iterate over diff sections
pager = less -R +'/-{3}'
[color]
ui = auto