autosnapshot: Automatically stage all changes and commit

Description Usage Arguments See Also

Description

This function will stage all changes and commit a snapshot with a predefined message (including user and timestamp) via git2r.

Usage

1
autosnapshot(repopath = getwd(), autobranch = NULL)

Arguments

repopath

Character. Specify path to existing repository.

autobranch

Character. Specify the name of an existing branch. Only if HEAD is pointing to this branch an auto-snapshot will be created. Exception: Choose NULL (default) to ignore branch-dependency.

See Also

repository, status, add, commit


sachserf/framework documentation built on May 29, 2019, 12:21 p.m.