use_git {usethis} | R Documentation |
Initialise a git repository
Description
use_git()
initialises a Git repository and adds important files to
.gitignore
. If user consents, it also makes an initial commit.
Usage
use_git(message = "Initial commit")
Arguments
message |
Message to use for first commit. |
See Also
Other git helpers:
use_git_config()
,
use_git_hook()
,
use_git_ignore()
Examples
## Not run:
use_git()
## End(Not run)
[Package usethis version 3.0.0 Index]