Sha256: 45c83a4be2db5859e74ff90b2753054a888ee0dfdfb69afba8649ac439a9d80d
Contents?: true
Size: 655 Bytes
Versions: 1
Compression:
Stored size: 655 Bytes
Contents
module Rip module Sh module Git extend self def git_ls_remote(source, version) `git ls-remote #{source} #{version} 2> /dev/null` end def git_clone(source, cache_name) `git clone #{source} #{cache_name}` end def git_fetch(remote) `git fetch #{remote}` end def git_reset_hard(version) `git reset --hard #{version}` end def git_submodule_init `git submodule init` end def git_submodule_update `git submodule update` end def git_revparse(repothing) `git rev-parse #{repothing}` end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rip-0.0.1 | lib/rip/sh/git.rb |