Description Usage Arguments Examples
This function automatically commit and push the changes on to github in window system
1 2 3 4 |
git_dir |
repo directory |
commit |
TRUE or FALSE, whether to commit or not |
comment |
comment message, a string, only matters when commit is TRUE |
keyword |
a string for keyword filtering, for you only want commit a certain folder each time |
limit_size |
large file limit, default is 5000 which means 5MB |
verbose |
TRUE or FALSE, print the git messages |
type |
a string or a string vector, one of "deleted","modified","new file" and "renamed" |
git_exe |
a string with the full name of git-cmd.exe, 'C:/Users/ynie01/AppData/Local/GitHub/PortableGit_c7e0cbde92ba565cb218a521411d0e854079a28c/git-cmd.exe' |
1 2 3 4 5 | ## Not run:
git_push_win(git_dir=getwd(),commit=FALSE)
git_push_win(git_dir=getwd(),commit=TRUE,comment="first git push")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.