Define local installation and clone
This code will clone the GitLab project locally, in a temporary
directory.
project_path <- clone_locally(
project_name = the_project[["name"]],
group_url = group_url,
open = FALSE
)
Add commit templates
add_git_templates(
project_path = project_path,
type = c("commit", "mr")
)
Tell all devs to run this in their own project
gert::git_config_set(repo = project_path, name = "commit.template", value = ".gitlab/template_commit")