git_log: Show Commit Log

View source: R/git_hooks.R

git_logR Documentation

Show Commit Log

Description

Show recent commit history.

Usage

git_log(n = 10, oneline = TRUE)

Arguments

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
}



framework documentation built on Feb. 18, 2026, 1:07 a.m.