{"thread":{"id":"57787","subject":"--help for git commands","startedAt":"2022-04-24T06:18:54Z","lastAt":"2022-04-25T13:56:00Z","messageCount":3,"participants":["Dorian Marié","Shaoxuan Yuan","Philip Oakley"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"454352","messageId":"CAHZPcmD3xmsuM5XQzczqKQEcVXXXc=c9cH9cpqDNPTpBrwd2iA@mail.gmail.com","threadId":"57787","inReplyTo":null,"subject":"--help for git commands","fromName":"Dorian Marié","fromEmail":"dorian@dorianmarie.fr","sentAt":"2022-04-24T06:18:38Z","receivedAt":"2022-04-24T06:18:54Z","isPatch":false,"sender":{"key":"dorian@dorianmarie.fr","avatar":null},"body":"Hi,\n\nI think it would be nice to have a simple help like other programs do\nwhen doing `git [subcommand] --help` or `git [subcommand] -h`.\n\nIt would be a short version of the manual.\n\nWhat do you think?\n\nThanks,\nDorian\n"},{"id":"454365","messageId":"CAJyCBORnAsJjC6+JmDX_nMMnAEZbLbhVNK9QKB7cb88KGUsARQ@mail.gmail.com","threadId":"57787","inReplyTo":"CAHZPcmD3xmsuM5XQzczqKQEcVXXXc=c9cH9cpqDNPTpBrwd2iA@mail.gmail.com","subject":"Re: --help for git commands","fromName":"Shaoxuan Yuan","fromEmail":"shaoxuan.yuan02@gmail.com","sentAt":"2022-04-25T06:22:35Z","receivedAt":"2022-04-25T06:23:00Z","isPatch":false,"sender":{"key":"shaoxuan.yuan02@gmail.com","avatar":"https://avatars.githubusercontent.com/u/46557895?v=4"},"body":"On Sun, Apr 24, 2022 at 2:26 PM Dorian Marié <dorian@dorianmarie.fr> wrote:\n>\n> Hi,\n>\n> I think it would be nice to have a simple help like other programs do\n> when doing `git [subcommand] --help` or `git [subcommand] -h`.\n>\n> It would be a short version of the manual.\n\nI think we do have a \"simple help like other programs do\".\n\nYou will get the git manual page for a command, for example, git-add,\nwith one of the followings:\n\n`git add --help`\n`git help add`\n`man git-add`\n\nOr, you can get a \"short version of the manual\", i.e. usage string, using this:\n\n`git add -h`\n\n-- \nThanks & Regards,\nShaoxuan\n"},{"id":"454385","messageId":"f373dfbc-51b6-2985-68aa-412599df2b43@iee.email","threadId":"57787","inReplyTo":"CAJyCBORnAsJjC6+JmDX_nMMnAEZbLbhVNK9QKB7cb88KGUsARQ@mail.gmail.com","subject":"Re: --help for git commands","fromName":"Philip Oakley","fromEmail":"philipoakley@iee.email","sentAt":"2022-04-25T13:55:51Z","receivedAt":"2022-04-25T13:56:00Z","isPatch":false,"sender":{"key":"philipoakley@iee.email","avatar":"https://avatars.githubusercontent.com/u/914343?v=4"},"body":"\nHi Dorian\nOn 25/04/2022 07:22, Shaoxuan Yuan wrote:\n> On Sun, Apr 24, 2022 at 2:26 PM Dorian Marié <dorian@dorianmarie.fr> wrote:\n>> Hi,\n>>\n>> I think it would be nice to have a simple help like other programs do\n>> when doing `git [subcommand] --help` or `git [subcommand] -h`.\n>>\n>> It would be a short version of the manual.\n> I think we do have a \"simple help like other programs do\".\n>\n> You will get the git manual page for a command, for example, git-add,\n> with one of the followings:\n>\n> `git add --help`\n> `git help add`\n> `man git-add`\n>\n> Or, you can get a \"short version of the manual\", i.e. usage string, using this:\n>\n> `git add -h`\n>\nThe `-h` option is listed in the command line interpreter (cli) guide\n`git help cli`\nand the help command is listed via the `git help help`, which also notes\nthe `git help git` method for getting git's own help/man page.\n\nAll part of the many 'obvious in retrospect' parts of Git ;-)\n\nPhilip\n"}]}