Registry / utility / grit
library2.5.0rbrubygemsunverified

Ruby library for extracting information from a git repository in an object oriented manner.

gem install grit
INSTALL
IMPORT
SIG · GRIT
G
grit
utilityrubyv2.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Grit
require 'grit'

Open a git repository and get the current branch name.

require 'grit' repo = Grit::Repo.new('/path/to/repo') puts repo.head.name
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.5.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
grit — gem install grit · libregistry