class Github::Client::Repos::Merging

in a local repository and then pushing to GitHub.
accomplishes essentially the same thing as merging one branch into another
The Repo Merging API supports merging branches in a repository. This

def merge(*args)

Other tags:
    Api: - public

Parameters:
  • params (Hash) --
def merge(*args)
  arguments(args, required: [:user, :repo]) do
    permit VALID_MERGE_PARAM_NAMES
    assert_required REQUIRED_MERGE_PARAMS
  end
  post_request("/repos/#{arguments.user}/#{arguments.repo}/merges", arguments.params)
end