News for hackers. Stuff that matters.
Re:Deploy a website using git in Ubuntu by sciurus on Tuesday June 05, 2012 @01:33AM (#4067475)
Having a bare repository on the same server as a "deployment" repository, where the repositories are configured to

1) automatically pull changes into the deployment repository from the bare repository

2) automatically push changes into the bare repository from the deployment repository

feels like a hack. Maybe git needs a concept somewhere between a normal and a bare repository, where the files are checked out but aren't teated like a normal work tree, i.e. you can't commit anything, and on a merge any local changes are thrown out?

There are no comments on this comment yet.