codecommit_create_commit: Creates a commit for a repository on the tip of a specified...

View source: R/codecommit_operations.R

codecommit_create_commitR Documentation

Creates a commit for a repository on the tip of a specified branch

Description

Creates a commit for a repository on the tip of a specified branch.

See https://www.paws-r-sdk.com/docs/codecommit_create_commit/ for full documentation.

Usage

codecommit_create_commit(
  repositoryName,
  branchName,
  parentCommitId = NULL,
  authorName = NULL,
  email = NULL,
  commitMessage = NULL,
  keepEmptyFolders = NULL,
  putFiles = NULL,
  deleteFiles = NULL,
  setFileModes = NULL
)

Arguments

repositoryName

[required] The name of the repository where you create the commit.

branchName

[required] The name of the branch where you create the commit.

parentCommitId

The ID of the commit that is the parent of the commit you create. Not required if this is an empty repository.

authorName

The name of the author who created the commit. This information is used as both the author and committer for the commit.

email

The email address of the person who created the commit.

commitMessage

The commit message you want to include in the commit. Commit messages are limited to 256 KB. If no message is specified, a default message is used.

keepEmptyFolders

If the commit contains deletions, whether to keep a folder or folder structure if the changes leave the folders empty. If true, a ..gitkeep file is created for empty folders. The default is false.

putFiles

The files to add or update in this commit.

deleteFiles

The files to delete in this commit. These files still exist in earlier commits.

setFileModes

The file modes to update for files in this commit.


paws.developer.tools documentation built on Sept. 12, 2024, 6:46 a.m.