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

Re: [PATCH v3] doc: add information regarding external commands

From
D. Ben Knoble <ben.knoble@gmail.com>
Date
Mar 3, 2026, 18:48 UTC
Message-ID
<CALnO6CASi3eyf_Zn1RS_Atjm6hj6Vnq0nNNyV8JJFCAK7hz0rg@mail.gmail.com>
In-Reply-To
<xmqqh5qwdaeh.fsf@gitster.g>
On Tue, Mar 3, 2026 at 1:40 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 31 quoted lines
>
> Speaking of "alias", I have always felt that it was suboptimal to
> make users refer to "git help config" to find out about it.  I
> wonder if "git help git" should be the first place users would look
> for a help about them?
>
> We have "GIT COMMANDS" section in "git help git" that says "We
> divide GIt into porcelain and plumbing" and then have two
> subsections there that list commands that belong to these two
> categories.  Perhaps leaving some breadcrumbs to redirect them would
> be a good start, something like this?
>
>  Documentation/git.adoc | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git c/Documentation/git.adoc w/Documentation/git.adoc
> index ce099e78b8..fb5b477eda 100644
> --- c/Documentation/git.adoc
> +++ w/Documentation/git.adoc
> @@ -235,7 +235,10 @@ GIT COMMANDS
>  ------------
>
>  We divide Git into high level ("porcelain") commands and low level
> -("plumbing") commands.
> +("plumbing") commands.  For defining command aliases, see
> +linkgit:gitconfig[1] and look for descriptions of `alias.*`.
> +For installing custom "git" subcommands, see the description for
> +the 'PATH' environment variable in this manual.
>
>  High-level commands (porcelain)
>  -------------------------------
I very much like that, thanks.
-- 
D. Ben Knoble
Previous: Junio C HamanoNext: Omri Sarig
Message 7 of 10 in “doc: add information regarding external commands”
  1. doc: add information regarding external commandsOmri Sarig via GitGitGadget, Mar 2, 2026
  2. Junio C HamanoMar 2, 2026
  3. Omri SarigMar 3, 2026
  4. doc: add information regarding external commandsOmri Sarig via GitGitGadget, Mar 3, 2026
  5. doc: add information regarding external commandsOmri Sarig via GitGitGadget, Mar 3, 2026
  6. Junio C HamanoMar 3, 2026
  7. D. Ben KnobleMar 3, 2026
  8. Omri SarigMar 3, 2026
  9. Junio C HamanoMar 3, 2026
  10. doc: add information regarding external commandsOmri Sarig via GitGitGadget, Mar 4, 2026

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.