Description Usage Arguments Details See Also
Commit (and push) changes made to the git repository
1 | git_commit(projname = ".", msg, add = ".", push = FALSE)
|
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? |
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'.
Other git functions: git_init
,
git_push
, git_remote
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.