3 ms·
The .git directory doesn't necessarily need to be in the public directory at all.
by p4bl0 3y ago
The .git directory doesn't necessarily need to be in the public directory at all.
- quectophoton 3y agoIf anyone wants to read more about this, search for `GIT_DIR` and `GIT_WORK_TREE` environment variables.
- trifurcate 3y agoOr, put your files under html/ in your repo, and push to /var/wwwroot (using the common /var/wwwroot/html setup)
- ozim 3y agoIt is always good reminder anyway to tell people to either make public dir not root of repo or block .git.