Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can have git separate the .git directory and the working directory by setting GIT_WORK_TREE and GIT_DIR in the post-receive hook. I usually put the git directories in /var/local/git, and I have some scripts to automate everything, but essentially I use this mechanism for certain projects (and for testing).


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

Search: