If the file already exists, it is updated/overwritten by default
gl_push_file(
project,
file_path,
content,
commit_message,
branch = get_main(),
overwrite = TRUE,
...
)gl_delete_file(project, file_path, commit_message, branch = get_main(), ...)
returns a tibble with changed branch and path (0 rows if nothing was changed, since overwrite is FALSE)
Project name or id
path where to store file in gl_repository. If in subdirectory, the parent directory should exist.
Character of length 1. File content (text)
Message to use for commit with new/updated file
name of branch where to append newly generated commit with new/updated file
whether to overwrite files that already exist
passed on to gitlab()