From: Eric Sunshine Date: Thu, 21 May 2015 18:01:44 GMT Subject: Re: [PATCH v11 2/5] command-list.txt: add the common groups block Message-ID: In-Reply-To: <1432229962-21405-3-git-send-email-sebastien.guimmara@gmail.com> On Thu, May 21, 2015 at 1:39 PM, Sébastien Guimmara wrote: > The ultimate goal is for "git help" to display common commands in > groups rather than alphabetically. As a first step, define the > groups in a new block, and then assign a group to each > common command. > > Helped-by: Eric Sunshine > Helped-by: Junio C Hamano > Helped-by: Emma Jane Hogbin Westby > Signed-off-by: Sébastien Guimmara > --- > diff --git a/command-list.txt b/command-list.txt > index 181a9c2..32ddab3 100644 > --- a/command-list.txt > +++ b/command-list.txt > @@ -1,3 +1,14 @@ > +# common commands are grouped by themes > +# these groups are output by 'git help' in the order declared here. > +# map each common command in the command list to one of these groups. > +### common groups (do not change this line) > +init start a working area (see also: git help tutorial) > +worktree work on the current change (see also: git help everyday) > +info examine the history and state (see also: git help revisions) > +history grow, mark and tweak your common history > +remote collaborate (see also: git help workflows) > + > +# List of known git commands. This is odd. The above line was removed in 1/5 but then re-appears here in 2/5. I think the intent is that it should remain removed. > ### command list (do not change this line) > # command name category [deprecated] [common] > git-add mainporcelain common