push_file: Upload a file to a gitlab repository

Description Usage Arguments Value

Description

If the file already exists, it is updated/overwritten by default

Usage

1
2
push_file(project, file_path, content, commit_message, branch_name = "master",
  overwrite = TRUE, ...)

Arguments

project

Project name or id

file_path

path where to store file in repository

content

file content (text)

commit_message

Message to use for commit with new/updated file

branch_name

name of branch where to append newly generated commit with new/updated file

overwrite

whether to overwrite files that already exist

...

passed on to gitlab

Value

returns a data.frame with changed branch and path (0 rows if nothing was changed, since overwrite is FALSE)



Search within the gitlabr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.