[git] adding fixup/squash shortcuts
This commit is contained in:
@@ -26,6 +26,10 @@
|
|||||||
# show what I did today
|
# 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`\"'"
|
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
|
# stash shortcuts
|
||||||
sp = stash pop
|
sp = stash pop
|
||||||
sw = stash save
|
sw = stash save
|
||||||
|
|||||||
Reference in New Issue
Block a user