Grit gives you object oriented read write access to git repositories via ruby.
Rugged git ruby.
Ruby bindings to libgit2.
Add a new entry to the index or update an existing entry in the index.
Open a bare git repository at path and return a repository object representing it.
It s designed to be fast and portable.
Overcommit git up rugged git reflow ginatra git remote branch git cop github webhook git auto bisect and git spelunk.
Libgit2 is a pure c implementation of the git core methods.
If passed a path to an existing readable file relative to the workdir creates a new index entry based on this file.
This is faster than rugged repository new as it won t attempt to perform any git directory discovery won t try to load the config options to determine whether the repository is bare and won t try to load the workdir.
To this end some of the interactions with git repositories are done by shelling out to the system s git command and other interactions are done with pure ruby reimplementations of core git.
The main goals are stability and performance.
It gives you the speed and portability of libgit2 with the beauty of the ruby language.
Alternatively a new index entry can be created by passing a hash containing all key value pairs of an index entry.
Optionally you can pass a list of alternate object folders or an options hash.
All libraries and projects 12.