get_history: Get Git commit history

Description Usage Arguments Examples

View source: R/get_history.R

Description

Get your Git commit history as a data frame or raw text between two specified dates.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
get_history(
  from,
  to = Sys.Date(),
  author = NULL,
  path = NULL,
  raw = FALSE,
  clipboard = FALSE
)

get_git_commit_history(
  from,
  to = Sys.Date(),
  author = NULL,
  path = NULL,
  raw = FALSE,
  clipboard = FALSE
)

Arguments

from

Starting date.

to

Ending date.

author

Optional author of the commits.

path

Optional path of your Git repository.

raw

Whether the output is a raw string vector (TRUE), or a data frame (FALSE).

clipboard

If TRUE, the output will also be copied into the clipboard.

Examples

1
get_history(from = "2019-06-01")

aldomann/gitlogr documentation built on Oct. 25, 2021, 12:06 a.m.