git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Kristoffer HaugsbakkNext: Oswald Buddenhagen
Message 3 of 4 in “single-char options”
  1. Martin GuyFeb 2, 2024
  2. Kristoffer HaugsbakkFeb 2, 2024
  3. Sergey OrganovFeb 2, 2024
  4. Oswald BuddenhagenFeb 4, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.