Learn R Programming

adapr (version 2.0.0)

gitCommit: git commit. Requires git installation.

Description

git commit. Requires git installation.

Usage

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

Run this code
# NOT RUN {
 si <- pullSourceInfo("adaprHome")
gitCommit(si$project.path,"test commit")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab