Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

usethis (version 1.6.1)

use_git: 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

Run this code
# NOT RUN {
use_git()
# }

Run the code above in your browser using DataLab