github_compare_commits: List the commits from the head of one branch to where it...

Description Usage Arguments Value

View source: R/repositories.R

Description

This function lists the commits made diverging from the base branch to the latest commit on the head branch. It returns a tibble with the columns "sha", date", "author_name", "author_email", "committer_name", "committer_email", "message" and "url" with a row for each commit in the history.

Usage

1
github_compare_commits(base, head, repo, api = getOption("github.api"), ...)

Arguments

base

(string) The base branch name.

head

(string) The branch to compare to the base.

repo

(string) The repository specified as "owner/repo".

api

(string, optional) The address to GitHub's API. Default: Uses the option github.api.

...

Parameters passed to gh_page.

Value

A tibble with the columns "sha", date", "author_name", "author_email", "committer_name", "committer_email", "message" and "url".


ChadGoymer/github documentation built on June 1, 2017, 5:17 p.m.