Records changes to the repository.
Usage
git_commit(message, all = FALSE)
Arguments
- message
Commit message
- all
Logical. Whether to automatically stage modified and deleted files. Default is FALSE.
Value
Invisibly returns TRUE if successful
Examples
if (FALSE) { # \dontrun{
git_commit("Add analysis script")
git_commit("Update results", all = TRUE)
} # }