Sha256: c40da885f6356ad27347c6a9d8d431c5d7108c47f06ac04a293348ddcb3c8c7e
Contents?: true
Size: 318 Bytes
Versions: 38
Compression:
Stored size: 318 Bytes
Contents
STDOUT.sync = true module Rails class Git < Scm def self.clone(repos, branch=nil) system "git clone #{repos}" if branch system "cd #{repos.split('/').last}/" system "git checkout #{branch}" end end def self.run(command) system "git #{command}" end end end
Version data entries
38 entries across 38 versions & 8 rubygems