When I push to my remote server, a post receive hook automatically pushes the updates to Github. Yay for automation.

However this wasn't enough automation, as I found myself creating git repos and running through the setup steps more often than I'd like. As a result I created gitweb_repo_build.sh which takes all the manual steps I go through to setup my workflow and automates it.

The script currently does the following:

Builds a git repo locally

Adds a README.mdwn and a LICENCE. Commits the changes.

Builds a git repo hosted via your remote git server

Adds to the remote server, a git hook for automatically pushing to github