We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 86f4c06 + 6e494ad commit b2956b3Copy full SHA for b2956b3
Documentation/git.txt
@@ -361,6 +361,14 @@ Environment Variables
361
---------------------
362
Various Git commands use the following environment variables:
363
364
+System
365
+~~~~~~~~~~~~~~~~~~
366
+`HOME`::
367
+ Specifies the path to the user's home directory. On Windows, if
368
+ unset, Git will set a process environment variable equal to:
369
+ `$HOMEDRIVE$HOMEPATH` if both `$HOMEDRIVE` and `$HOMEPATH` exist;
370
+ otherwise `$USERPROFILE` if `$USERPROFILE` exists.
371
+
372
The Git Repository
373
~~~~~~~~~~~~~~~~~~
374
These environment variables apply to 'all' core Git commands. Nb: it
0 commit comments