powered by
use_git() initialises a Git repository and adds important files to .gitignore. If user consents, it also makes an initial commit.
use_git()
.gitignore
use_git(message = "Initial commit")
Message to use for first commit.
Other git helpers: use_git_config, use_git_hook, use_git_ignore
use_git_config
use_git_hook
use_git_ignore
# NOT RUN { use_git() # }
Run the code above in your browser using DataLab