{"thread":{"id":"55085","subject":"The error subcommand given by git tab completion.","startedAt":"2021-02-01T15:17:30Z","lastAt":"2021-02-02T02:37:02Z","messageCount":4,"participants":["Hongyi Zhao","胡哲宁","Pratyush Yadav"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"415757","messageId":"CAGP6POLQ_6cZHh0UCaavNBL7+FcMEX8bwb=VxvNMtmO0ZSCPwg@mail.gmail.com","threadId":"55085","inReplyTo":null,"subject":"The error subcommand given by git tab completion.","fromName":"Hongyi Zhao","fromEmail":"hongyi.zhao@gmail.com","sentAt":"2021-02-01T15:15:33Z","receivedAt":"2021-02-01T15:17:30Z","isPatch":false,"sender":{"key":"hongyi.zhao@gmail.com","avatar":null},"body":"On Ubuntu 20.04, the `git TAB' will give me the following available subcommands:\n\n$ git TAB\nadd               deborig           merge             rm\nam                describe          mergetool         send-email\napply             diff              mv                shortlog\narchive           difftool          notes             show\nbisect            fetch             pull              show-branch\nblame             format-patch      push              sparse-checkout\nbranch            fsck              range-diff        stage\nbundle            gc                rebase            stash\ncheckout          gitk              reflog            status\ncherry            grep              remote            submodule\ncherry-pick       gui               repack            switch\ncitool            help              replace           tag\nclean             init              request-pull      whatchanged\nclone             instaweb          reset             worktree\ncommit            latexdiff         restore\nconfig            log               revert\n\nThen I try the following:\n\n$ git gui\ngit: 'gui' is not a git command. See 'git --help'.\n\nThe most similar commands are\n    gc\n    grep\n    init\n    pull\n    push\n\nThe git version is shown as below:\n\n$ git --version\ngit version 2.25.1\n\nAs you can see, gui is among the auto-completed subcommands list, but\nit can be run like the manner of other subcommands. Any hints for this\nproblem?\n\nRegards\n-- \nAssoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>\nTheory and Simulation of Materials\nHebei Polytechnic University of Science and Technology engineering\nNO. 552 North Gangtie Road, Xingtai, China\n"},{"id":"415763","messageId":"CAOLTT8RVL15NUVJHz657yeAycuUeOR6i4Z6TGehLPRjrUxmoTw@mail.gmail.com","threadId":"55085","inReplyTo":"CAGP6POLQ_6cZHh0UCaavNBL7+FcMEX8bwb=VxvNMtmO0ZSCPwg@mail.gmail.com","subject":"Re: The error subcommand given by git tab completion.","fromName":"胡哲宁","fromEmail":"adlternative@gmail.com","sentAt":"2021-02-01T16:18:49Z","receivedAt":"2021-02-01T16:17:49Z","isPatch":false,"sender":{"key":"adlternative@gmail.com","avatar":"https://avatars.githubusercontent.com/u/58138461?v=4"},"body":"git gui works normally for me in arch.\nYou should go to install some dependent commands.\n\nHongyi Zhao <hongyi.zhao@gmail.com> 于2021年2月1日周一 下午11:19写道：\n>\n> On Ubuntu 20.04, the `git TAB' will give me the following available subcommands:\n>\n> $ git TAB\n> add               deborig           merge             rm\n> am                describe          mergetool         send-email\n> apply             diff              mv                shortlog\n> archive           difftool          notes             show\n> bisect            fetch             pull              show-branch\n> blame             format-patch      push              sparse-checkout\n> branch            fsck              range-diff        stage\n> bundle            gc                rebase            stash\n> checkout          gitk              reflog            status\n> cherry            grep              remote            submodule\n> cherry-pick       gui               repack            switch\n> citool            help              replace           tag\n> clean             init              request-pull      whatchanged\n> clone             instaweb          reset             worktree\n> commit            latexdiff         restore\n> config            log               revert\n>\n> Then I try the following:\n>\n> $ git gui\n> git: 'gui' is not a git command. See 'git --help'.\n>\n> The most similar commands are\n>     gc\n>     grep\n>     init\n>     pull\n>     push\n>\n> The git version is shown as below:\n>\n> $ git --version\n> git version 2.25.1\n>\n> As you can see, gui is among the auto-completed subcommands list, but\n> it can be run like the manner of other subcommands. Any hints for this\n> problem?\n>\n> Regards\n> --\n> Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>\n> Theory and Simulation of Materials\n> Hebei Polytechnic University of Science and Technology engineering\n> NO. 552 North Gangtie Road, Xingtai, China\n"},{"id":"415766","messageId":"20210201164158.q35j6zniuebspqx2@yadavpratyush.com","threadId":"55085","inReplyTo":"CAGP6POLQ_6cZHh0UCaavNBL7+FcMEX8bwb=VxvNMtmO0ZSCPwg@mail.gmail.com","subject":"Re: The error subcommand given by git tab completion.","fromName":"Pratyush Yadav","fromEmail":"me@yadavpratyush.com","sentAt":"2021-02-01T16:41:58Z","receivedAt":"2021-02-01T16:42:46Z","isPatch":false,"sender":{"key":"me@yadavpratyush.com","avatar":"https://avatars.githubusercontent.com/u/8817931?v=4"},"body":"On 01/02/21 11:15PM, Hongyi Zhao wrote:\n> On Ubuntu 20.04, the `git TAB' will give me the following available subcommands:\n> \n> $ git TAB\n> add               deborig           merge             rm\n> am                describe          mergetool         send-email\n> apply             diff              mv                shortlog\n> archive           difftool          notes             show\n> bisect            fetch             pull              show-branch\n> blame             format-patch      push              sparse-checkout\n> branch            fsck              range-diff        stage\n> bundle            gc                rebase            stash\n> checkout          gitk              reflog            status\n> cherry            grep              remote            submodule\n> cherry-pick       gui               repack            switch\n> citool            help              replace           tag\n> clean             init              request-pull      whatchanged\n> clone             instaweb          reset             worktree\n> commit            latexdiff         restore\n> config            log               revert\n> \n> Then I try the following:\n> \n> $ git gui\n> git: 'gui' is not a git command. See 'git --help'.\n> \n> The most similar commands are\n>     gc\n>     grep\n>     init\n>     pull\n>     push\n> \n> The git version is shown as below:\n> \n> $ git --version\n> git version 2.25.1\n> \n> As you can see, gui is among the auto-completed subcommands list, but\n> it can be run like the manner of other subcommands. Any hints for this\n> problem?\n\nDo you have git-gui installed? Some distros (like Ubuntu IIRC) don't \nship git-gui by default and you have to install it separately.\n \n> Regards\n> -- \n> Assoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>\n> Theory and Simulation of Materials\n> Hebei Polytechnic University of Science and Technology engineering\n> NO. 552 North Gangtie Road, Xingtai, China\n\n-- \nRegards,\nPratyush Yadav\n"},{"id":"415862","messageId":"CAGP6POJ22jT-JbbGLfXWpTCf6bEkPAzD=M_y2HVdc9wozi=-Zw@mail.gmail.com","threadId":"55085","inReplyTo":"20210201164158.q35j6zniuebspqx2@yadavpratyush.com","subject":"Re: The error subcommand given by git tab completion.","fromName":"Hongyi Zhao","fromEmail":"hongyi.zhao@gmail.com","sentAt":"2021-02-02T02:36:03Z","receivedAt":"2021-02-02T02:37:02Z","isPatch":false,"sender":{"key":"hongyi.zhao@gmail.com","avatar":null},"body":"On Tue, Feb 2, 2021 at 12:42 AM Pratyush Yadav <me@yadavpratyush.com> wrote:\n>\n> On 01/02/21 11:15PM, Hongyi Zhao wrote:\n> > On Ubuntu 20.04, the `git TAB' will give me the following available subcommands:\n> >\n> > $ git TAB\n> > add               deborig           merge             rm\n> > am                describe          mergetool         send-email\n> > apply             diff              mv                shortlog\n> > archive           difftool          notes             show\n> > bisect            fetch             pull              show-branch\n> > blame             format-patch      push              sparse-checkout\n> > branch            fsck              range-diff        stage\n> > bundle            gc                rebase            stash\n> > checkout          gitk              reflog            status\n> > cherry            grep              remote            submodule\n> > cherry-pick       gui               repack            switch\n> > citool            help              replace           tag\n> > clean             init              request-pull      whatchanged\n> > clone             instaweb          reset             worktree\n> > commit            latexdiff         restore\n> > config            log               revert\n> >\n> > Then I try the following:\n> >\n> > $ git gui\n> > git: 'gui' is not a git command. See 'git --help'.\n> >\n> > The most similar commands are\n> >     gc\n> >     grep\n> >     init\n> >     pull\n> >     push\n> >\n> > The git version is shown as below:\n> >\n> > $ git --version\n> > git version 2.25.1\n> >\n> > As you can see, gui is among the auto-completed subcommands list, but\n> > it can be run like the manner of other subcommands. Any hints for this\n> > problem?\n>\n> Do you have git-gui installed? Some distros (like Ubuntu IIRC) don't\n> ship git-gui by default and you have to install it separately.\n\nThanks a lot for your notes. The following command fixes this problem:\n\n$ sudo apt-get install git-gui\n\nRegards\n-- \nAssoc. Prof. Hongyi Zhao <hongyi.zhao@gmail.com>\nTheory and Simulation of Materials\nHebei Polytechnic University of Science and Technology engineering\nNO. 552 North Gangtie Road, Xingtai, China\n"}]}