diff --git a/Documentation/git.txt b/Documentation/git.txt index 0ef7f5e4ecebf5..59f0af73eb9969 100644 --- a/Documentation/git.txt +++ b/Documentation/git.txt @@ -460,6 +460,14 @@ Environment Variables --------------------- Various Git commands use the following environment 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