class Git::Base

Monkey patch the git merge method to allow passing the –allow-unrelated-histories flag more info: stackoverflow.com/questions/37937984/git-refusing-to-merge-unrelated-histories

Public Instance Methods

merge(branch, message = 'merge', opts = {}) click to toggle source
# File lib/client/git_adapter/git_gem.rb, line 12
def merge(branch, message = 'merge', opts = {})
  self.lib.merge(branch, message, opts)
end
name_status(branch1 = nil, branch2 = nil, opts = {}) click to toggle source
# File lib/client/git_adapter/git_gem.rb, line 20
def name_status(branch1 = nil, branch2 = nil, opts = {})
  self.lib.name_status(branch1, branch2, opts)
end
rev_list(sha) click to toggle source
# File lib/client/git_adapter/git_gem.rb, line 16
def rev_list(sha)
  self.lib.rev_list(sha)
end