
Last chance! 50% off unlimited learning
Sale ends in
Last chance! 50% off unlimited learning
Sale ends in
Add a git hook.
use_git_hook(hook, script, pkg = ".")
Hook name. One of "pre-commit", "prepare-commit-msg", "commit-msg", "post-commit", "applypatch-msg", "pre-applypatch", "post-applypatch", "pre-rebase", "post-rewrite", "post-checkout", "post-merge", "pre-push", "pre-auto-gc".
Text of script to run
Path to package. See as.package
for more
information.
Other git infrastructure: use_github_links
,
use_github
, use_git