doc: make it easier to find custom command information

Git supports creating additional commands through aliases, and through
placement of executables with a "git-" prefix in the PATH.

This information was not easy enough to find - users will look for this
information around the command description, but the documentation
exists in other locations.

Update the "GIT COMMANDS" section to reference the relevant sections,
making it easier for to find this information.

Signed-off-by: Omri Sarig <omri.sarig13@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Omri Sarig
2026-03-07 17:08:01 +00:00
committed by Junio C Hamano
parent 67ad42147a
commit beca0ca4be

View File

@@ -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:git-config[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)
-------------------------------