auto_commit: Automattically commits

Description Usage Arguments Value Examples

Description

Automattically commits code

Usage

1
2
auto_commit(repo, user.name, user.password, fl, message, add_branch,
  add_message)

Arguments

repo

the repository

user.name

username

user.password

user password

fl

the file to commit

message

the commit message

add_branch

takes the values TRUE or FALSE; if TRUE adds branch to the beginning of the the commit tag

add_message

takes the values TRUE or FALSE; if TRUE adds message to the end of the commit tag

Value

filename to be used to version output files and datasets

Examples

1
2
repo <- config.repo('Joli Holmes', 'holmesjoligmail.com')
auto_commit(repo, 'holmesjoli', 'password', '.', 'July 2018 Monthly')

holmesjoli/archiveR documentation built on May 11, 2019, 3:05 p.m.