Add support for `git rebase -no-edit`
- From
- Chaitanya Tata <chaitanya.tk17@gmail.com>
- Date
- Jan 11, 2024, 17:25 UTC
- Message-ID
- <CADA7-FOE_81ze8hdaRGLPbipihnvFcEYfp9uwnPxPVxDepG4nA@mail.gmail.com>
Hi,
I have a feature request to add `--no-edit` option to `git rebase` like we do for `git commit`. The workflow I typically follow is:
* `git commit -a --fixup=XXX` * `git rebase -i HEAD~15 --autosquash`
But it requires closing the editor without any changes. I can workaround this using the `GIT_EDITOR` option, see [1]. But it would be good to have this built-in.
Thoughts?
[1] - https://stackoverflow.com/a/45783848
Cheers, Chaitanya.