Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Simple buildout recipe for downloading git repositories. It uses system git command and its syntax

Project Description

Welcome to gitrecipe doc page


Recipe clones git repository and checkouts to revision, if it is provided in configuration. You can use recipe like this:

parts = data

recipe = gitrecipe
repository = git://
rev = origin/redevlop-branch


repository - repository url

ref of rev - git reference wich you want to checkout


rev option leaved for compatibility with zerokspot.recipe.git. It is better to use ref parameter, because it corresponds Git terminology

Since 0.0.2 recipe does check existing repository while install and update. Repository origin url must be the same as given in rev option. Otherwise repository will be deleted and cloned again.


I’ve used recipe zerokspot.recipe.git, but as for me, it too complex and has some disadvantages:

  • it does not allow commit from the source folder, default remote is local copy in downloads
  • it does not allow to specify the tag or branch of the repository, only revision hash

So I wrote my own git recipe with compatible options. You can choose this or that.

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(4.5 kB) Copy SHA256 Hash SHA256
Source None Feb 20, 2012

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers