To handle post-receive hooks from github and pull a cloned repo
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README
sync.rb

README

Sinatra app that handles HTTP POSTs from GitHub's post-receive webhook. It parses out the name of the repo and branch then pulls (if the branch is master) or creates a new tracking branch otherwise (using branch -f incase the local branch already exists).