powered by
Provide a pre-commit.d/ in ./git/hooks, a pre-commit hook that executes scripts from that directory and copy the script_file there.
use_git_pre_commit_script(path, script_file)
Path to the package directory (see devtools::as.package).
devtools::as.package
A path to a script file.
This might work only for proper git, not for packages like gert or git2r.
Other infrastructure functions: use_git_check_version_not_tagged()
use_git_check_version_not_tagged()