git rebase -f --autosquash
- From
- Andy Kitchen <kitchen.andy@gmail.com>
- Date
- May 12, 2012, 10:38 UTC
- Message-ID
- <D7BE2BACB49749DB9FC37D4ACCCD008B@gmail.com>
Hi All,
I commonly use:
git commit --fixup <commit>
to preen commits before pushing them. I can run
git rebase -i --autosquash HEAD@{upstream}to apply these fixes, however, autosquash only applies to interactive rebases.
Because I am sure that my fixes are applicable, I would like to be able to non-interactively autosquash, possibly like so:
git rebase -f --autosquash HEAD@{upstream}Would anyone else find this feature useful?
Kind Regards
AK