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>

Omri Sarig committed Mar 7, 2026 at 17:08 UTC beca0ca4bed5d7eea405e872a197bf226c4b4a85
1 file changed +4 -1
Documentation/git.adoc
+4 -1
@@ -235,7 +235,10 @@ GIT COMMANDS
235 ------------
236
237 We divide Git into high level ("porcelain") commands and low level
238 -("plumbing") commands.
238 +("plumbing") commands. For defining command aliases, see
239 +linkgit:git-config[1] and look for descriptions of `alias.*`.
240 +For installing custom "git" subcommands, see the description for
241 +the 'PATH' environment variable in this manual.
242
243 High-level commands (porcelain)
244 -------------------------------