aws-codecommit
Manage Git repositories hosted on AWS CodeCommit.
TLDR
Create a new repository
SYNOPSIS
aws codecommit command [options]
DESCRIPTION
aws codecommit is the AWS CLI interface for AWS CodeCommit, a fully managed source control service hosting secure Git repositories. CodeCommit eliminates the need to operate your own source control system and scales automatically to meet project needs.
CodeCommit supports standard Git functionality including branches, commits, and merges. It adds AWS-specific features like pull request approval rules, repository triggers for event notifications, and integration with AWS IAM for access control.
COMMANDS
create-repository
Create a new CodeCommit repositorydelete-repository
Delete a repositorylist-repositories
List all repositories in the accountcreate-branch
Create a new branchcreate-pull-request
Create a pull request between branchesmerge-pull-request-by-fast-forward
Merge a pull request using fast-forwardput-file
Add or update a file in a repositoryget-file
Retrieve file contents as base64create-commit
Create a commit with multiple file changescreate-approval-rule-template
Define approval requirements for pull requests
CAVEATS
CodeCommit uses AWS IAM for authentication rather than SSH keys or passwords by default. The Git credential helper must be configured for HTTPS access. Repository size is limited to 2GB for individual files and there are quotas on API requests per second.
HISTORY
AWS CodeCommit launched in July 2015 as part of the AWS developer tools suite. It provided a Git-compatible managed repository as an alternative to GitHub Enterprise or self-hosted GitLab. Pull request support was added in 2017, and approval templates for compliance workflows in 2019.
SEE ALSO
aws(1), git(1), aws-codebuild(1), aws-codepipeline(1)
