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 be9d07f + 714d258 commit 34ab7fcCopy full SHA for 34ab7fc
Documentation/git-daemon.txt
@@ -147,6 +147,13 @@ OPTIONS
147
Giving these options is an error when used with `--inetd`; use
148
the facility of inet daemon to achieve the same before spawning
149
'git daemon' if needed.
150
++
151
+Like many programs that switch user id, the daemon does not reset
152
+environment variables such as `$HOME` when it runs git programs,
153
+e.g. `upload-pack` and `receive-pack`. When using this option, you
154
+may also want to set and export `HOME` to point at the home
155
+directory of `<user>` before starting the daemon, and make sure any
156
+Git configuration files in that directory are readable by `<user>`.
157
158
--enable=<service>::
159
--disable=<service>::
0 commit comments