mirror of
https://github.com/git/git.git
synced 2026-03-05 14:59:04 +01:00
Merge branch 'os/doc-custom-subcommand-on-path' into jch
* os/doc-custom-subcommand-on-path: doc: add information regarding external commands
This commit is contained in:
@@ -487,6 +487,14 @@ System
|
||||
`$HOMEDRIVE$HOMEPATH` if both `$HOMEDRIVE` and `$HOMEPATH` exist;
|
||||
otherwise `$USERPROFILE` if `$USERPROFILE` exists.
|
||||
|
||||
`PATH`::
|
||||
When a user runs 'git <command>' that is not part of the core Git programs
|
||||
(installed in GIT_EXEC_PATH), 'git-<command>' that is runnable by the user
|
||||
in a directory on `$PATH` is invoked. Argument passed after the command
|
||||
name are passed as-is to the program. To execute `git <foo>`, `git` finds
|
||||
command `<foo>` (either a core Git program found in 'GIT_EXEC_PATH', or a
|
||||
custom one in a directory on 'PATH'), before trying `foo` as an alias.
|
||||
|
||||
The Git Repository
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
These environment variables apply to 'all' core Git commands. Nb: it
|
||||
|
||||
Reference in New Issue
Block a user