protect_branches.Rd
Protect 'main' and 'production' from push on server
protect_branches(project_id, unprotect = FALSE)
project_id
Logical. Whether to unprotect branches or not.
Side effect: Branches protected from push on server.
if (FALSE) { protect_branches( project_id = project_id ) # unprotect if wanted # protect_branches(project_id, unprotect = TRUE) }