Grit gives you object oriented read write access to git repositories via ruby.
Rugged git ruby.
It gives you the speed and portability of libgit2 with the beauty of the ruby language.
Open a bare git repository at path and return a repository object representing it.
Rugged is a library for accessing libgit2 in ruby.
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.
Contribute to redbadger rugged development by creating an account on github.
Alternatively a new index entry can be created by passing a hash containing all key value pairs of an index entry.
If passed a path to an existing readable file relative to the workdir creates a new index entry based on this file.
It s designed to be fast and portable.
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.
All libraries and projects 12.
Optionally you can pass a list of alternate object folders or an options hash.
Libgit2 is a pure c implementation of the git core methods.
Overcommit git up rugged git reflow ginatra git remote branch git cop github webhook git auto bisect and git spelunk.
Add a new entry to the index or update an existing entry in the index.