Skip to content

Instantly share code, notes, and snippets.

View tschoof's full-sized avatar

Timm Schoof tschoof

View GitHub Profile
@tschoof
tschoof / post-update
Created March 5, 2012 13:27 — forked from dchest/post-update
Git post-update hook to checkout working copy and publish it with jekyll (put it into .git/hooks and chmod +x post-update)
#!/bin/sh
#
# Post-update hook to checkout working copy and publish it with jekyll
#
# To enable this hook, make this file executable by "chmod +x post-update".
git-update-server-info
is_bare=$(git-config --get --bool core.bare)