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_repo/adapter/git_gem.rb, line 34
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_repo/adapter/git_gem.rb, line 42
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_repo/adapter/git_gem.rb, line 38
def rev_list(sha)
  self.lib.rev_list(sha)
end