Using Git to manage a web site
303 bookmarks. First posted by jbone december 2008.
The HTML source for my (i.e., this) web site lives in a Git repository on my local workstation. This page describes how I set things up so that I can make changes live by running just "git push web".
dev
git
web
8 hours ago by wopr42
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".
git
deploy
10 days ago by abackstrom
The HTML source for my (i.e., this) web site lives in a Git repository on my local workstation. This page describes how I set things up so that I can make changes live by running just "git push web".
git
web
tutorial
11 weeks ago by pva
Deploy app with git without having .git files in the document root
Tutorials
Git
august 2011 by reality66
»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".« nice workflow.
development
git
reference
webdev
from delicious
july 2011 by tobiastom
$ mkdir /var/www/www.example.org
$ cat > hooks/post-receive
#!/bin/sh
GIT_WORK_TREE=/var/www/www.example.org git checkout -f
$ chmod +x hooks/post-receive
july 2011
by benpjohnson
$ cat > hooks/post-receive
#!/bin/sh
GIT_WORK_TREE=/var/www/www.example.org git checkout -f
$ chmod +x hooks/post-receive
Using Git to manage a web site: a simple and useful way to deploy with Git.
from twitter
june 2011 by afternoon
Sympathique explication sur comment manager votre site web en utilisant git: suffit simplement de mettre votre site dans git et de rafraîchir votre 'repo' sur votre serveur. Cette article décrit la procédure pas à pas.
git
web
site
from delicious
march 2011 by _Fil_
I like the idea of 'git push production', but I'd be scared shitless to actually do that without a rollback plan. I didn't realize before this, but a push target can have multiple locations, which might enable you to push to an entire web cluster. Interesting.
git
deployment
march 2011 by steven
git remote add web ssh://server.example.org/home/ams/website.git
git
tutorial
workflow
february 2011 by maestrojed
tags
blogging code commandline deploy deployment dev development dev_staging django git git_work_tree hook hosting howto post-commit post-receive programming push reference server site static_blog static_web_site temp tricks tutorial tutorials vcs versioncontrol web-dev web webdesign webdev webfaction webhook website.management website workflow