My custom git config
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[user]
name = Richard Forrest
[user]
email = richard.a.forrest@gmail.com
[core]
editor = 'C:/Program Files (x86)/Vim/vim74/vim.exe'
autocrlf = true
[alias]
co = checkout
com = !git add --all && git commit
st = status
br = branch
re = rebase
stats = diff --stat
go = rebase --continue
skip = rebase --skip
abort = rebase --abort
rb = "!sh -c 'git rebase -i HEAD~$1' -"
up = !git pull --rebase --prune $@ && git submodule update --init --recursive
cob = checkout -b
cm = !git add -A && git commit -m
sup = !git branch --set-upstream-to origin `git symbolic-ref --short HEAD`
po = !git push -u
pof = !git push -u --force
sq = !git rebase i head~2
save = !git add -A && git commit -m 'SAVEPOINT'
scorch = clean -xdf -e packages -e .nuget -e nuget.exe -e *.dbmdl -e *.suo -e *.user -e .vs
undo = reset HEAD~1 --mixed
wipe = !git add -A && git commit -qm 'WIPE SAVEPOINT' && git reset HEAD~1 --hard
ec = config --global -e
bdone = "!f() { git checkout ${1-develop} && git up && git bclean ${1-develop}; }; f"
bclean = "!f() { git branch --merged ${1-develop} | grep -v ${1-develop}$ | xargs -r git branch -d; }; f"
lg = !git log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lg2 = !git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit