Skip to content

Commit

Permalink
Merge pull request #1548 from alejandro5042/master
Browse files Browse the repository at this point in the history
Document how $HOME is set on Windows
  • Loading branch information
dscho authored Mar 13, 2018
2 parents 86f4c06 + 6e494ad commit b2956b3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Documentation/git.txt
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,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
Expand Down

0 comments on commit b2956b3

Please sign in to comment.