HN2new | past | comments | ask | show | jobs | submitlogin

Shouldn't it be:

   git --bare init
On the server?


No, 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: