git_commit: Git commit

Description Usage Arguments Details See Also

View source: R/git_xyz.R

Description

Commit (and push) changes made to the git repository

Usage

1
git_commit(projname = ".", msg, add = ".", push = FALSE)

Arguments

projname

path to a folder with a git repository, by default "." (current directory)

msg

message to be included with the commit

add

what files to include, either as a single character string, or a character vector, where each element is a directory, file or fileglob.

push

logical; should the changes be pushed to a remote repository?

Details

This will add and commit, plus optionally push, all changes made in the given repository. Push assumes a very basic setup and pushes upstream to the master branch of 'origin'.

See Also

Other git functions: git_init, git_push, git_remote


AkselA/R-projector documentation built on June 19, 2020, 4:24 p.m.