gitCommit: git commit. Requires git installation.

Description Usage Arguments Value Examples

View source: R/git.commit.R

Description

git commit. Requires git installation.

Usage

1
2
3
4
5
6
7
gitCommit(
  gitdir,
  message,
  branch = NULL,
  git_args = character(),
  git_binary = NULL
)

Arguments

gitdir

string with git directory

message

for commit

branch

git branch

git_args

arguments to git

git_binary

location of git executable

Value

Not for direct use. Git commit output.

Examples

1
2
3
4
5
## Not run: 
 si <- pullSourceInfo("adaprHome")
gitCommit(si$project.path,"test commit")

## End(Not run) 

gelfondjal/adapr documentation built on Feb. 2, 2020, 1:32 a.m.