All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pratyush Yadav <me@yadavpratyush.com>
To: Hongyi Zhao <hongyi.zhao@gmail.com>
Cc: Git List <git@vger.kernel.org>
Subject: Re: The error subcommand given by git tab completion.
Date: Mon, 1 Feb 2021 22:11:58 +0530	[thread overview]
Message-ID: <20210201164158.q35j6zniuebspqx2@yadavpratyush.com> (raw)
In-Reply-To: <CAGP6POLQ_6cZHh0UCaavNBL7+FcMEX8bwb=VxvNMtmO0ZSCPwg@mail.gmail.com>

On 01/02/21 11:15PM, Hongyi Zhao wrote:
> On Ubuntu 20.04, the `git TAB' will give me the following available subcommands:
> 
> $ git TAB
> add               deborig           merge             rm
> am                describe          mergetool         send-email
> apply             diff              mv                shortlog
> archive           difftool          notes             show
> bisect            fetch             pull              show-branch
> blame             format-patch      push              sparse-checkout
> branch            fsck              range-diff        stage
> bundle            gc                rebase            stash
> checkout          gitk              reflog            status
> cherry            grep              remote            submodule
> cherry-pick       gui               repack            switch
> citool            help              replace           tag
> clean             init              request-pull      whatchanged
> clone             instaweb          reset             worktree
> commit            latexdiff         restore
> config            log               revert
> 
> Then I try the following:
> 
> $ git gui
> git: 'gui' is not a git command. See 'git --help'.
> 
> The most similar commands are
>     gc
>     grep
>     init
>     pull
>     push
> 
> The git version is shown as below:
> 
> $ git --version
> git version 2.25.1
> 
> As you can see, gui is among the auto-completed subcommands list, but
> it can be run like the manner of other subcommands. Any hints for this
> problem?

Do you have git-gui installed? Some distros (like Ubuntu IIRC) don't 
ship git-gui by default and you have to install it separately.
 
> Regards
> -- 
> Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>
> Theory and Simulation of Materials
> Hebei Polytechnic University of Science and Technology engineering
> NO. 552 North Gangtie Road, Xingtai, China

-- 
Regards,
Pratyush Yadav

  parent reply	other threads:[~2021-02-01 16:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-01 15:15 The error subcommand given by git tab completion Hongyi Zhao
2021-02-01 16:18 ` 胡哲宁
2021-02-01 16:41 ` Pratyush Yadav [this message]
2021-02-02  2:36   ` Hongyi Zhao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210201164158.q35j6zniuebspqx2@yadavpratyush.com \
    --to=me@yadavpratyush.com \
    --cc=git@vger.kernel.org \
    --cc=hongyi.zhao@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.