Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (29 sloc) 862 Bytes

SCM

Description

{SCM} is a simple Ruby library for interacting with common SCMs, such as Git, Mercurial (Hg) and SubVersion (SVN).

Features

Examples

require 'scm'

repo = SCM::Git.new('path/to/repo')

repo.branches
# => [...]

repo.tags
# => [...]

repo.status
# => {...}

repo.log

Install

$ gem install scm

Copyright

Copyright (c) 2011 Hal Brodigan

See {file:LICENSE.txt} for details.