Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Working with commits in AWS CodeCommit repositories - AWS CodeCommit

AWS CodeCommit is no longer available to new customers. Existing customers of AWS CodeCommit can continue to use the service as normal. Learn more"

AWS CodeCommit is no longer available to new customers. Existing customers of AWS CodeCommit can continue to use the service as normal. Learn more"

Working with commits in AWS CodeCommit repositories

Commits are snapshots of the contents and changes to the contents of your repository. Every time a user commits and pushes a change, that information is saved and stored. So, too, is information that includes who committed the change, the date and time of the commit, and the changes made as part of the commit. You can also add tags to commits, to easily identify specific commits. In CodeCommit, you can:

  • Review commits.

  • View the history of commits in a graph.

  • Compare a commit to its parent or to another specifier.

  • Add comments to your commits and reply to comments made by others.

Adding a comment to a changed line in a commit.

Before you can push commits to a CodeCommit repository, you must set up your local computer to connect to the repository. For the simplest method, see For HTTPS users using Git credentials.

For information about working with other aspects of your repository in CodeCommit, see Working with repositories, Working with files, Working with pull requests , Working with branches, and Working with user preferences.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.