aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git.adoc
diff options
context:
space:
mode:
authorOmri Sarig <omri.sarig13@gmail.com>2026-03-07 17:08:01 +0000
committerJunio C Hamano <gitster@pobox.com>2026-03-07 14:04:23 -0800
commitbeca0ca4bed5d7eea405e872a197bf226c4b4a85 (patch)
tree5e1b73ec04d1bd0b4bb00877a06ae051c2ff42b7 /Documentation/git.adoc
parent67ad42147a7acc2af6074753ebd03d904476118f (diff)
downloadgit-beca0ca4bed5d7eea405e872a197bf226c4b4a85.tar.xz
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>
Diffstat (limited to 'Documentation/git.adoc')
-rw-r--r--Documentation/git.adoc5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git.adoc b/Documentation/git.adoc
index ce099e78b8..ce7d3ce859 100644
--- a/Documentation/git.adoc
+++ b/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: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)
-------------------------------