# single-char options

4 messages from 2024-02-02 to 2024-02-05. Participants: Martin Guy, Kristoffer Haugsbakk, Sergey Organov, Oswald Buddenhagen.
Thread: https://gitlist.dev/t/60834

## Martin Guy, 2024-02-02 13:45

Subject: single-char options
Message-ID: <0e88ac8ad60d2da689d0a308cc59a02d468bc15f.camel@gmail.com>
URL: https://gitlist.dev/e/0e88ac8ad60d2da689d0a308cc59a02d468bc15f.camel%40gmail.com

```
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 mean, yes, I can implement them for myself (at least for the most
common long ones) but wondere what the zeitgeist was on this issue - at
least that way they would be the same letters for everybody.

Thanks

    M

```

## Kristoffer Haugsbakk, 2024-02-02 14:42

Subject: Re: single-char options
Message-ID: <418c0333-50fa-41c7-92bd-0797f06041de@app.fastmail.com>
URL: https://gitlist.dev/e/418c0333-50fa-41c7-92bd-0797f06041de%40app.fastmail.com
In-Reply-To: <0e88ac8ad60d2da689d0a308cc59a02d468bc15f.camel@gmail.com>

```
On Fri, Feb 2, 2024, at 14:45, Martin Guy wrote:
> 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 mean, yes, I can implement them for myself (at least for the most
> common long ones) but wondere what the zeitgeist was on this issue - at
> least that way they would be the same letters for everybody.
>
> Thanks
>
>     M

Magit is nice if you use Emacs. All interactions are a combination of
one-letter commands and one-letter options.

The CLI is too tedious to do everything in for me.

-- 
Kristoffer Haugsbakk


```

## Sergey Organov, 2024-02-02 14:59

Subject: Re: single-char options
Message-ID: <8734ua52ue.fsf@osv.gnss.ru>
URL: https://gitlist.dev/e/8734ua52ue.fsf%40osv.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

```

## Oswald Buddenhagen, 2024-02-04 13:47

Subject: Re: single-char options
Message-ID: <Zb+Vake8k3Lpx3Ut@ugly>
URL: https://gitlist.dev/e/Zb%2BVake8k3Lpx3Ut%40ugly
In-Reply-To: <0e88ac8ad60d2da689d0a308cc59a02d468bc15f.camel@gmail.com>

```
On Fri, Feb 02, 2024 at 01:45:55PM +0000, Martin Guy wrote:
>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.
>
you don't need to re-type the commands.
in bash (or any other readline-using shell) just type ctrl-r 'onti' (or
anything else sufficiently unique) and maybe ctrl-r a few times more.
it's very rare that i type repeat commands from scratch. in fact, to the
point that i often spend more time hopping through the history than it
would have taken to re-type the command, heh.


```
