Gitweb checklist

export PROJECT="project_name"
git init --bare /var/cache/git/${PROJECT}.git
echo "Short description" > /var/cache/git/${PROJECT}.git/description
echo "http://git.saintaardvarkthecarpeted.com/git/${PROJECT}.git" > /var/cache/git/${PROJECT}.git/cloneurl
cd ~/src/$PROJECT
git remote add gitweb /var/cache/git/${PROJECT}.git
git push gitweb master
cd /var/cache/git/${PROJECT}.git
git update-server-info
mv hooks/post-update.sample hooks/post-update
cd /tmp
git clone http://git.saintaardvarkthecarpeted.com/git/${PROJECT}.git || echo "Can't clone!"