From 26d744526c12c1e3166d5a1338d4787c88a0f871 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sun, 11 Nov 2007 19:57:56 -0500 Subject: [PATCH 1/2] Make the list of common commands more exclusive Remove apply, archive, cherry-pick, prune, revert, and show-branch, so "git help" is less intimidating. Signed-off-by: "Theodore Ts'o" Signed-off-by: Junio C Hamano --- generate-cmdlist.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/generate-cmdlist.sh b/generate-cmdlist.sh index 17df47b950..1ba27ecf9c 100755 --- a/generate-cmdlist.sh +++ b/generate-cmdlist.sh @@ -11,12 +11,9 @@ static struct cmdname_help common_cmds[] = {" sort <<\EOF | add -apply -archive bisect branch checkout -cherry-pick clone commit diff @@ -26,15 +23,12 @@ init log merge mv -prune pull push rebase reset -revert rm show -show-branch status tag EOF From 15f80a539bddfbd5e0661714756576edb2053e35 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sun, 11 Nov 2007 19:57:57 -0500 Subject: [PATCH 2/2] Remove hint to use "git help -a" The newbie user will run away screaming when they see all possible commands. The expert user will already know about the -a option from reading the git man page. Signed-off-by: "Theodore Ts'o" Signed-off-by: Junio C Hamano --- help.c | 1 - 1 file changed, 1 deletion(-) diff --git a/help.c b/help.c index 8217d97787..5f8c121bc1 100644 --- a/help.c +++ b/help.c @@ -238,7 +238,6 @@ void list_common_cmds_help(void) mput_char(' ', longest - strlen(common_cmds[i].name)); puts(common_cmds[i].help); } - puts("(use 'git help -a' to get a list of all installed git commands)"); } static void show_man_page(const char *git_cmd)