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.
Rugged git 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.
Alternatively a new index entry can be created by passing a hash containing all key value pairs of an index entry.
Add a new entry to the index or update an existing entry in the index.
Contribute to redbadger rugged development by creating an account on github.
Libgit2 bindings in ruby.
Libgit2 is a pure c implementation of the git core methods.
The main goals are stability and performance.
Ruby bindings to libgit2.
Open a bare git repository at path and return a repository object representing it.
Optionally you can pass a list of alternate object folders or an options hash.
Grit gives you object oriented read write access to git repositories via ruby.
Rugged is a library for accessing libgit2 in ruby.
It gives you the speed and portability of libgit2 with the beauty of the ruby language.
If passed a path to an existing readable file relative to the workdir creates a new index entry based on this file.