My bash aliases

Updated 2017-05-04 to include some additional aliases that I've been using

I've been using git a lot more recently, and in December, I switched to using a series of aliases just for git. Since then, I've used my aliases 1700+ times (on my work machine alone), saving me over 22000 keystrokes, or almost 5 total hours of typing, just since December. Without further ado, here are the aliases

alias a='git add'
alias b='git branch'
alias c='git commit -v'
alias ch='git checkout'
alias d='git diff --find-copies --word-diff --minimal --ignore-all-space'
alias dc='git diff --word-diff --minimal HEAD^ HEAD'
alias ds='git diff --find-copies --staged --word-diff --minimal --ignore-all-space'
alias f='git fetch'
alias fb='f && b'
alias gs='git stash'
alias l='git log --graph --stat --abbrev-commit --decorate --format=format:'\''%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'\'''\''          %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'\'' --all'
alias mp='ch master && pp'
alias p='git push'
alias pp='git pull'
alias pup='p --set-upstream origin $( get_branch )'

function s { 
    git status -sb | python -c 'import sys; order = { "A ": 1, " M": 3, "??": 2, "##": 0 }; print("".join(sorted(sys.stdin.readlines(), key=lambda x: order.get(x[0: 2], 0))))'
}

It's amazing just how much time these aliases have saved me, and will continue to save me.

I'd be interested to see other alias suggestions for speed improvements.