Tentacat.Repositories.Merges

Summary

merge(owner, repo, base, head, commit_message, client \\ %Tentacat.Client{})

Merge a branch into another

Functions

merge(owner, repo, base, head, commit_message, client \\ %Tentacat.Client{})

Specs:

Merge a branch into another

You can use both branch names and/or a commit SHA1. When the commit message is empty, Github will apply the default commit message.

Example

Tentacat.Repositories.Merges.merge "elixir-lang", "elixir", "master", "123-another-feature", "", client
Tentacat.Repositories.Merges.merge "elixir-lang", "elixir", "master", "123-another-feature", "not the default commit_message", client
Tentacat.Repositories.Merges.merge "elixir-lang", "elixir", "8e50d79f2ba0d665b9966908cbf22c6f463228d6", "bafdae8b93e74738c12515c14c7cf9acc652650a", "", client

More info at: https://developer.github.com/v3/repos/merging/#perform-a-merge