require 'repertoire/media/type' module Repertoire module Media class Git include Type known_as :git uses_schemes 'git' uses_directory '.git' # # Checks out the Git repository located at the specified _uri_ into the # specified _path_. # def self.checkout(uri,path) sh('git','clone',uri,path) end # # Updated the Git repository located at the specified _path_. # def self.update(path,uri=nil) sh('git','pull',path) end end end end