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

The error subcommand given by git tab completion.

From
HZHongyi Zhao <hongyi.zhao@gmail.com>
Date
Feb 1, 2021, 15:15 UTC
Message-ID
<CAGP6POLQ_6cZHh0UCaavNBL7+FcMEX8bwb=VxvNMtmO0ZSCPwg@mail.gmail.com>
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?

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
Next: 胡哲宁
Message 1 of 4 in “The error subcommand given by git tab completion.”
  1. Hongyi ZhaoFeb 1, 2021
  2. 胡哲宁Feb 1, 2021
  3. Pratyush YadavFeb 1, 2021
  4. Hongyi ZhaoFeb 2, 2021

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.