Skip to content

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

Examples

if (FALSE) { # \dontrun{
use_git()
} # }