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
Create your own Heroku-ish set up
Deployment  Git  Tutorial  Tricks 
september 2011 by chauce
handy tip for git post-receive automatic deploys
git  from delicious
september 2011 by jkriss
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
How to setup a production web environ and deploy to it with git.
git 
july 2011 by lsc21
GIT_WORK_TREE=/var/www/www.example.org git checkout -f
deployment  git  howto  web  webdev 
july 2011 by faunzy
Using Git to manage a web site: a simple and useful way to deploy with Git.
from twitter
june 2011 by afternoon
Deploy a site with a git push
deployment  git  howto  web  webdev 
june 2011 by heliostatic
git post receive hook to checkout most recent version
git  howto  web  webdev 
may 2011 by WIZARDISHUNGRY
simple setup for managing a static website with git
git 
may 2011 by ryan
super basic, static site deployment
git  deployment 
may 2011 by christine.y
heroku style: git push production
git  webdev 
april 2011 by harrikauhanen
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
static websites versioned with git. a a neat hack.
git  deployment 
march 2011 by howthebodyworks
git remote add web ssh://server.example.org/home/ams/website.git
git  tutorial  workflow 
february 2011 by maestrojed
git push web
deployment  git  howto  web 
february 2011 by earth2marsh
git push web +master:refs/heads/master
february 2011 by jalogisch