|
|
|
|
|
by piinbinary
4031 days ago
|
|
I have a similar function that's a bit simpler: gfixup () {
REVISION=$(git rev-parse $1)
git commit --fixup=$REVISION && git rebase -i --autosquash $REVISION~
}
It doesn't handle stashing anything, but other than that it's basically the same. |
|