powered by
Get commits and diff from a project repository
gl_get_commits(project, commit_sha = c(), ...)gl_get_diff(project, commit_sha, ...)
gl_get_diff(project, commit_sha, ...)
Tibble of commits or diff of the branch with informative variables.
project name or id
if not null, get only the commit with the specific hash; for gl_get_diff() this must be specified
gl_get_diff()
passed on to gitlab() API call, may contain ref_name for specifying a branch or tag to list commits of
gitlab()
ref_name
if (FALSE) { my_commits <- gl_get_commits("<>") gl_get_commits("<>", my_commits$id[1]) }
Run the code above in your browser using DataLab