]> code.delx.au - dotfiles/blob - .gitconfig
gitconfig: git-config uses tabs
[dotfiles] / .gitconfig
1 [user]
2 name = James Bunton
3 email = jamesbunton@delx.net.au
4 [core]
5 pager = less -+F -+X
6 excludesfile = ~/.gitignore
7 [color]
8 ui = auto
9 [log]
10 decorate = full
11 follow = true
12 [diff]
13 renamelimit = 10000
14 renames = copies
15 context = 5
16 algorithm = minimal
17 [push]
18 default = upstream
19 [alias]
20 graphlog = log --graph --pretty=format:'%C(bold black)%h%Creset %C(bold red)%ad %C(bold blue)%s%Creset %C(bold yellow)%d%Creset %C(bold black)<%an>%Creset' --date=short
21 ci = commit
22 co = checkout
23 st = status
24 di = diff
25 diw = diff --color-words
26 dic = diff --cached
27 dicw = diff --cached --color-words
28 ff = merge --ff-only
29 ffpull = pull --ff-only
30 lso = ls-files -X .gitignore -o
31 pushn = !git push origin --set-upstream "$(git rev-parse --abbrev-ref HEAD)":"$(git rev-parse --abbrev-ref HEAD)"
32 pushd = !git push origin --delete "$(git rev-parse --abbrev-ref HEAD)"
33 pushf = push --force-with-lease
34 cherry-pick = cherry-pick -x
35 branches-to-kill = !git branch --merged origin/master|grep -v master|xargs -n1 echo git branch -d
36 mergediff = !git checkout --quiet --detach HEAD && git merge --no-edit origin/master && git diff -C10 -M10 origin/master && git checkout --quiet -