Skip to contents

Push everything on a branch

Usage

push_all_to_branch(
  project_path,
  branch = "main",
  main_branch = "main",
  message = "Init repo"
)

Arguments

project_path

project_path

branch

branch name. main by default

main_branch

main branch name. main by default

message

commit message

Value

Side effect: commit output

Examples

if (FALSE) {
push_all_to_branch(
  project_path = project_path
)
}