Fabric script to pull a repo from git and checkout the desired branch
Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
deploy.sh
fabfile.py

README

Meant to be used with a Jenkins job, but can be run manually.

If the deployment directory does not exist, the git repo is cloned.
If it does, the repo is pulled and the desired branch is checked out.