4 ms·
Shouldn't it be: git --bare init On the server?
by nodesocket 13y ago
Shouldn't it be:
git --bare init
On the server?
- tgasson 13y agoNo, because it needs to be checked out (that's the deployment). As a usual git server, yes --bare is the way to go. In this case you could alternatively use --bare in a ~/repos/example.com dir and set the $GIT_WORKING_DIR environment variable to ~/www/example.com for checkout.