mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-23 23:52:33 -05:00
Merge pull request #1548 from alejandro5042/master
Document how $HOME is set on Windows
This commit is contained in:
@@ -361,6 +361,14 @@ Environment Variables
|
|||||||
---------------------
|
---------------------
|
||||||
Various Git commands use the following 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
|
The Git Repository
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
These environment variables apply to 'all' core Git commands. Nb: it
|
These environment variables apply to 'all' core Git commands. Nb: it
|
||||||
|
|||||||
Reference in New Issue
Block a user