View source: R/projects_and_repos.R
gl_get_commits | R Documentation |
Get commits and diff from a project repository
gl_get_commits(project, commit_sha = c(), ...)
gl_get_diff(project, commit_sha, ...)
project |
id (preferred way) or name of the project. Not repository name. |
commit_sha |
if not null, get only the commit with the specific hash; for
|
... |
passed on to |
Tibble of commits or diff of the branch with informative variables.
## Not run:
my_commits <- gl_get_commits("<<your-project-id>>")
gl_get_commits("<<your-project-id>>", my_commits$id[1])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.