CmdID / aws / aws codecommit
aws codecommit put-file
Adds or updates a file in a branch in an CodeCommit repository, and generates a commit for the addition in the specified branch. AWS CLI reference
9 options Its page in the AWS CLI reference
Options
--branch-nameThe name of the branch where you want to add or update the file.--commit-messageA message about why this file was added or updated.--emailAn email address for the person adding or updating the file.--file-contentThe content of the file, in binary object format.--file-modeThe file mode permissions of the blob.--file-pathThe name of the file you want to add or update, including the relative path to the file in the repository.--nameThe name of the person adding or updating the file.--parent-commit-idThe full commit ID of the head commit in the branch where you want to add or update the file.--repository-nameThe name of the repository where you want to add or update the file.