feat: add git fixup command

This commit is contained in:
oddlama 2023-06-12 00:20:08 +02:00
parent 46ce6ed353
commit 2c81b11696
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -20,6 +20,7 @@
t = "tag -s -m ''";
ci = "commit -v -S";
cam = "commit -v -S --amend";
fixup = ''!f() { TARGET=$(git rev-parse \"$1\"); git commit --fixup=$TARGET ''${@:2} && EDITOR=true git rebase -i --gpg-sign --autostash --autosquash $TARGET^; }; f'';
};
};