Skip to content

Instantly share code, notes, and snippets.



Created Apr 2, 2012
What would you like to do?
Post-receive hook which generates html from to be used with gitweb
# Post-receive hook script which generates README.html to git-dir from
# found at the head of master branch in repository.
# Gitweb can read the README.html and embed it to the project summary page.
git cat-file blob | markdown > $GIT_DIR/README.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment