One that I find myself using probably more than I should is undo:
# undo the last commit undo = reset --soft HEAD^ redo = reset 'HEAD@{1}'
up = !git fetch && git rebase --autostash FETCH_HEAD
# list aliases la = "!git config -l | grep alias | cut -c 7-"
lol = log --decorate --pretty=oneline --abbrev-commit auto = !git add --all && git commit -m \"AUTOCOMMIT $(date)\" todo = grep TODO
pu = !"git fetch origin -v; git fetch upstream -v; git merge upstream/master"
One that I find myself using probably more than I should is undo:
Another is a quick update method for repos that I'm not contributing to, but might be dirty: And for those times I forget those aliases I don't use as often: