* single-char options
@ 2024-02-02 13:45 Martin Guy
2024-02-02 14:42 ` Kristoffer Haugsbakk
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Martin Guy @ 2024-02-02 13:45 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: single-char options
2024-02-02 13:45 single-char options Martin Guy
@ 2024-02-02 14:42 ` Kristoffer Haugsbakk
2024-02-02 14:59 ` Sergey Organov
2024-02-04 13:47 ` Oswald Buddenhagen
2 siblings, 0 replies; 4+ messages in thread
From: Kristoffer Haugsbakk @ 2024-02-02 14:42 UTC (permalink / raw)
To: Martin Guy; +Cc: git
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: single-char options
2024-02-02 13:45 single-char options Martin Guy
2024-02-02 14:42 ` Kristoffer Haugsbakk
@ 2024-02-02 14:59 ` Sergey Organov
2024-02-04 13:47 ` Oswald Buddenhagen
2 siblings, 0 replies; 4+ messages in thread
From: Sergey Organov @ 2024-02-02 14:59 UTC (permalink / raw)
To: Martin Guy; +Cc: git
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: single-char options
2024-02-02 13:45 single-char options Martin Guy
2024-02-02 14:42 ` Kristoffer Haugsbakk
2024-02-02 14:59 ` Sergey Organov
@ 2024-02-04 13:47 ` Oswald Buddenhagen
2 siblings, 0 replies; 4+ messages in thread
From: Oswald Buddenhagen @ 2024-02-04 13:47 UTC (permalink / raw)
To: Martin Guy; +Cc: git
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-02-05 1:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-02 13:45 single-char options Martin Guy
2024-02-02 14:42 ` Kristoffer Haugsbakk
2024-02-02 14:59 ` Sergey Organov
2024-02-04 13:47 ` Oswald Buddenhagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).