6 lines
147 B
Plaintext
6 lines
147 B
Plaintext
|
#!/bin/bash
|
||
|
set -e
|
||
|
TARGET=$(git rev-parse ${1})
|
||
|
git commit --fixup=${TARGET} ${@:2}
|
||
|
EDITOR=true git rebase -i --autostash --autosquash ${TARGET}^;
|