Files
2025-10-25 00:09:58 +00:00

1.4 KiB

UpdateFileOptions

Properties

Name Type Description Notes
author Identity [optional]
branch String branch (optional) is the base branch for the changes. If not supplied, the default branch is used [optional]
committer Identity [optional]
content String content must be base64 encoded
dates CommitDateOptions [optional]
forcePush Boolean force_push (optional) will do a force-push if the new branch already exists [optional]
fromPath String from_path (optional) is the path of the original file which will be moved/renamed to the path in the URL [optional]
message String message (optional) is the commit message of the changes. If not supplied, a default message will be used [optional]
newBranch String new_branch (optional) will make a new branch from base branch for the changes. If not supplied, the changes will be committed to the base branch [optional]
sha String the blob ID (SHA) for the file that already exists to update, or leave it empty to create a new file [optional]
signoff Boolean Add a Signed-off-by trailer by the committer at the end of the commit log message. [optional]