[git] adding fixup/squash shortcuts

This commit is contained in:
Nick Nisi
2013-06-20 22:56:52 -05:00
parent d2cd14c096
commit b8271fe830

View File

@@ -26,6 +26,10 @@
# show what I did today
day = "!sh -c 'git log --reverse --no-merges --branches=* --date=local --after=\"yesterday 11:59PM\" --author=\"`git config --get user.name`\"'"
fixup = !sh -c 'git commit --fixup=$1' -
squash = !sh -c 'git commit --squash=$1' -
ri = rebase --interactive --autosquash
# stash shortcuts
sp = stash pop
sw = stash save