commit_file: commit individual file(s)

Description Usage Arguments Examples

View source: R/tidyproject.R

Description

Has side effect that staged changed will be updated to working tree

Usage

1
commit_file(file_name)

Arguments

file_name

character vector. File(s) to be committed

Examples

1
2
3
4
## Not run: 
commit_file("Scripts/script1.R")

## End(Not run)

tsahota/TidyProject documentation built on April 19, 2021, 9:14 p.m.