Ginit: 'git init' a new repo

Description Usage Arguments Value Examples

View source: R/git.R

Description

Checks with user that the init is being done in the right directory, to avoid those cases where the user isn't where they think they are. Also checks that there isn's a .git directory first so that a repo isn't re-inited #' (unless force = TRUE).

Usage

1

Arguments

force

Whether to force init [FALSE]

Value

Any results from running git init

Examples

1
# Ginit()

jacob-ogre/gitr documentation built on May 18, 2019, 8:01 a.m.