Skip to content

A Heroku buildpack which downloads and builds specified version of git.

License

Notifications You must be signed in to change notification settings

schneems/heroku-buildpack-git

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Heroku buildpack which downloads and builds specified version of git.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%