]> Kevux Git Server - rit/commitdiff
doc: make it easier to find custom command information
authorOmri Sarig <omri.sarig13@gmail.com>
Sat, 7 Mar 2026 17:08:01 +0000 (17:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 7 Mar 2026 22:04:23 +0000 (14:04 -0800)
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>
Documentation/git.adoc

index ce099e7..ce7d3ce 100644 (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)
 -------------------------------