2 excludesfile = ~/.gitignore_global
18 defaultToUpstream = true
22 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
27 diw = diff --color-words
29 dicw = diff --cached --color-words
31 ffpull = pull --ff-only
32 lso = ls-files -X .gitignore -o
33 pushn = !git push origin --set-upstream "$(git rev-parse --abbrev-ref HEAD)":"$(git rev-parse --abbrev-ref HEAD)"
34 pushd = !git push origin --delete "$(git rev-parse --abbrev-ref HEAD)"
35 pushf = push --force-with-lease
36 cherry-pick = cherry-pick -x
37 branches-to-kill = !git branch --merged origin/master|grep -v master|xargs -n1 echo git branch -d
38 mergediff = !git checkout --quiet --detach HEAD && git merge --no-edit origin/master && git diff -C10 -M10 origin/master && git checkout --quiet -
39 expire-prune = !git reflog expire --expire=now --all && git gc --prune=now