add_pre_commit: Adds a git hook

View source: R/git_hooks.R

git_pre_commitR Documentation

Adds a git hook

Description

git_pre_commit only tests files that have changed. Makes things, especially linting a lot faster.

Add a pre-commit or pre-push hook. Both hooks are identical. They just get triggered at different times.

Usage

git_pre_commit()

add_pre_commit()

add_pre_push()

jumpingrivers/inteRgrate documentation built on May 20, 2022, 11:08 p.m.