diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-12-19 10:58:32 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-12-19 10:58:32 -0800 |
| commit | 930f2b48118e13e4f74ed709f2708d0d863d420e (patch) | |
| tree | 72ad1c3bef45acb464d28a5c237c5ca17f934fbe | |
| parent | cb89eebf3bb0b78c5193f8b6293b4b22ce8b08ca (diff) | |
| parent | 8525e928868757c2ebce3859dae0a9fd0f9ac9fd (diff) | |
| download | git-930f2b48118e13e4f74ed709f2708d0d863d420e.tar.gz | |
Merge branch 'mh/doc-windows-home-env'
Doc update.
* mh/doc-windows-home-env:
Document HOME environment variable
| -rw-r--r-- | Documentation/git.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/git.txt b/Documentation/git.txt index 44f0797ccf..81498393af 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -477,6 +477,14 @@ their values the same way as Boolean valued configuration variables, e.g. Here are the variables: +System +~~~~~~~~~~~~~~~~~~ +`HOME`:: + Specifies the path to the user's home directory. On Windows, if + unset, Git will set a process environment variable equal to: + `$HOMEDRIVE$HOMEPATH` if both `$HOMEDRIVE` and `$HOMEPATH` exist; + otherwise `$USERPROFILE` if `$USERPROFILE` exists. + The Git Repository ~~~~~~~~~~~~~~~~~~ These environment variables apply to 'all' core Git commands. Nb: it |
