A Heroku buildpack which downloads and builds specified version of git.
Shell
Pull request Compare This branch is 35 commits behind abhishekmunie:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
.gitignore
README.md

README.md

Heroku buildpack: Git

This is a Heroku buildpack which downloads and builds specified version of git.

Usage

Example usage:

$ heroku create --stack cedar --buildpack https://github.com/abhishekmunie/heroku-buildpack-git.git
...

$ git push heroku master
...
-----> Heroku receiving push
-----> Fetching custom buildpack... cloning with git...done
-----> Git app detected
-----> Downloading Git ... done
-----> Installing Git...
...
       done
-----> Discovering process types
...

The buildpack will detect your app as Git if it has the file _git.cfg in the root.

This can be used in combination with ddollar/heroku-buildpack-multi in order to support more complex use-cases where you need a specific version of git.

Configuring Buildpack

Buildpack reads its configuration from _git.cfg

GIT_VERSION="<git_version>"

Hacking

To modify this buildpack, fork it on Github. Push up changes to your fork, then create a test app with --buildpack <your-github-url> and push to it.