R/params.R

#' Common Parameters for gitr
#'
#' @name params
#'
#' @param n `integer(1)`. How far back to go from current `HEAD`.
#'   Same as the command line `git log -n` parameter.
#'   For `git stash` commands, zero-index into the stash list.
#'
#' @param file `character(1)`. The path to a file.
#'
#' @param branch `character(1)`. The name of a branch, typically a
#'   feature branch.
#'
#' @param sha `character(n)`. The commit secure hash algorithm (SHA-1).
#'   If `NULL`, typically points to the most recent commit on
#'   the current branch.
#'
NULL

Try the gitr package in your browser

Any scripts or data that you put into this service are public.

gitr documentation built on April 13, 2025, 1:08 a.m.