Re: single-char options
- From
Sergey Organov <sorganov@gmail.com>
- Date
- Feb 2, 2024, 14:59 UTC
- Message-ID
- <8734ua52ue.fsf@osv.gnss.ru>
- In-Reply-To
- <0e88ac8ad60d2da689d0a308cc59a02d468bc15f.camel@gmail.com>
Martin Guy <martinwguy@gmail.com> writes:
> I'm sure this must have been thought of before and rejected, but us RSI > sufferers would like to be able to say "git rebase -c" for "--continue" > not only for speed and ease, but for all the other RSI sufferers out > there.
I'm afraid you'll have hard time to bring *any* one-letter option into core Git.
That said, an option here is to maintain suitable set of aliases, probably contributed to Git to be easily installed, containing, say,
git config --global alias.re 'rebase' git config --global alias.rc 'rebase --continue' git config --global alias.ra 'rebase --abort' etc.
HTH,
-- Sergey Organov