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