git_log
Show Commit Log
Show recent commit history.
Usage
git_log(n = 10, oneline = TRUE)
Arguments
| Argument | Description |
|---|---|
n
|
Number of commits to show (default: 10) |
oneline
|
Logical; if TRUE, show condensed one-line format (default: TRUE) |
Returns
Invisibly returns the log output as a character vector
Examples
git_log()
git_log(n = 5)
git_log(oneline = FALSE) # Full format
Source: R/git_hooks.R