class Gitomator::Service::Git
Public Class Methods
new(provider, opts = {})
click to toggle source
Calls superclass method
Gitomator::BaseService::new
# File lib/gitomator/service/git.rb, line 8 def initialize(provider, opts = {}) super(provider, opts) end
Public Instance Methods
add(local_repo_root, path, opts={})
click to toggle source
# File lib/gitomator/service/git.rb, line 22 def add(local_repo_root, path, opts={}) service_call(__callee__, local_repo_root, path, opts) end
checkout(local_repo_root, branch, opts={})
click to toggle source
# File lib/gitomator/service/git.rb, line 30 def checkout(local_repo_root, branch, opts={}) service_call(__callee__, local_repo_root, branch, opts) end
clone(repo_url, local_repo_root, opts={})
click to toggle source
# File lib/gitomator/service/git.rb, line 14 def clone(repo_url, local_repo_root, opts={}) service_call(__callee__, repo_url, local_repo_root, opts) end
command(local_repo_root, command)
click to toggle source
# File lib/gitomator/service/git.rb, line 42 def command(local_repo_root, command) service_call(__callee__, local_repo_root, command) end
commit(local_repo_root, message, opts={})
click to toggle source
# File lib/gitomator/service/git.rb, line 26 def commit(local_repo_root, message, opts={}) service_call(__callee__, local_repo_root, message, opts) end
init(local_repo_root, opts={})
click to toggle source
# File lib/gitomator/service/git.rb, line 18 def init(local_repo_root, opts={}) service_call(__callee__, local_repo_root, opts) end
push(local_repo_root, remote, opts={})
click to toggle source
# File lib/gitomator/service/git.rb, line 38 def push(local_repo_root, remote, opts={}) service_call(__callee__, local_repo_root, remote, opts) end
set_remote(local_repo_root, remote, url, opts={})
click to toggle source
# File lib/gitomator/service/git.rb, line 34 def set_remote(local_repo_root, remote, url, opts={}) service_call(__callee__, local_repo_root, remote, url, opts) end