Sha256: 9e33d6118f6b1921bc5e9031260e22b29c0c2eedbbcbdef90de09ff421eba2d3
Contents?: true
Size: 753 Bytes
Versions: 4
Compression:
Stored size: 753 Bytes
Contents
module Rip module Sh module Git extend self def git_ls_remote(source, version = nil) `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_rev_parse(repothing) `git rev-parse #{repothing}` end def git_cat_file(object) `git cat-file -p #{object} 2> /dev/null` end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rip-0.0.4 | lib/rip/sh/git.rb |
rip-0.0.5 | lib/rip/sh/git.rb |
rip-0.0.3 | lib/rip/sh/git.rb |
rip-0.0.2 | lib/rip/sh/git.rb |