git_repo_is_clean: Check if git repo is clean

View source: R/git.R

git_repo_is_cleanR Documentation

Check if git repo is clean

Description

Check that git repo is up to date with remote by checking git status --porcelian. If import_path is not a git root directory this will search parents of the import_path for the git root

Usage

git_repo_is_clean(root = ".")

Arguments

import_path

Path to the directory of the dettl import to check.

Value

True if repo is up to date. False otherwise.


vimc/dettl documentation built on Oct. 6, 2022, 2:13 p.m.