jesse read

the musings of a rather dodgy developer
DodgyDev – Main Blog
Nerd Rage – Gaming Blog
Designed by Redfield. Icons by Cameron Hunt.
Link

Using Git to manage a web site

The one-line summary: push into a remote repository that has a detached work tree, and a post-receive hook that runs git checkout -f.

Great how-to for putting a website under the control of git and avoiding some of the issues that can pop up when using git pull from your server is not an option.



September 22, 2009, 3:00am