git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Redirect "git" subcommand to itself?
@ 2015-05-28  0:28 Stefan Beller
  2015-05-28  1:53 ` Junio C Hamano
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Stefan Beller @ 2015-05-28  0:28 UTC (permalink / raw)
  To: git@vger.kernel.org

Hi,

so I just run into this problem again (which happens to me maybe twice a week):
I want to do a git operations, so I type "git " into my shell, and
then I look around what
exactly I want to do and usually I find it in the help text of a
previous command such as
    You are currently reverting commit 383c14b.
      (fix conflicts and run "git revert --continue")
      (use "git revert --abort" to cancel the revert operation)

then I copy the whole operation "git revert --abort" in this case and
paste it to the shell
and let go.
The result looks like
    $ git git revert --abort
    git: 'git' is not a git command. See 'git --help'.

    Did you mean this?
    init

I wonder if we want to make a "git" subcommand, which behaves exactly
the same as git itself?
Then "git git git status" would just return the same as "git status".

Thanks,
Stefan

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-05-29 16:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-28  0:28 Redirect "git" subcommand to itself? Stefan Beller
2015-05-28  1:53 ` Junio C Hamano
2015-05-28  5:22   ` Jeff King
2015-05-29  8:38   ` Christian Neukirchen
2015-05-29 13:24     ` Aaron Schrab
2015-05-29 15:38     ` Junio C Hamano
2015-05-29 16:00       ` Stefan Beller
2015-05-29 16:41       ` Christian Neukirchen
2015-05-29 16:49         ` Junio C Hamano
2015-05-28 10:36 ` Konstantin Khomoutov
2015-05-28 13:11 ` Matthieu Moy

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).