class Github::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(user_name, repo_name, params={})


"commit_message": "Shipped cool_feature!"
"head": "cool_feature",
"base": "master",
github.repos.merging.merge 'user', 'repo',
github = Github.new
= Examples

* :commit_message - Optional String - Commit message to use for the merge commit. If omitted, a default message will be used.
* :head - Required String - The head to merge. This can be a branch name or a commit SHA1.
* :base - Required String - The name of the base branch that the head will be merged into.
= Inputs

Perform a merge
def merge(user_name, repo_name, params={})
  normalize! params
  filter! VALID_MERGE_PARAM_NAMES, params
  assert_required_keys REQUIRED_MERGE_PARAMS, params
  post_request("/repos/#{user_name}/#{repo_name}/merges", params)
end