| git_log_since | R Documentation |
Returns up to n commit lines from HEAD, newest first.
With format = "oneline" each line is git's --oneline
(short hash and subject); with format = "iso" each line is
tab-separated ISO-local timestamp, short hash, and subject. A
NULL since_date means no lower bound. Anything that is
not a git working tree returns character(0). The log
primitive behind heartbeat, exported for downstream
tooling that composes its own activity reports.
git_log_since(
repo_dir,
since_date = NULL,
n = 5L,
format = c("oneline", "iso")
)
repo_dir |
Path to a repository. |
since_date |
A |
n |
Integer. Maximum commits to return. |
format |
|
Character vector of commit lines (possibly empty).
# A plain directory is not a repository: empty log
git_log_since(tempdir(), Sys.Date() - 7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.