Menu
AWS CodeCommit
User Guide (API Version 2015-04-13)

Working with Commits in AWS CodeCommit Repositories

Commits to a repository 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 AWS 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 an AWS 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 AWS CodeCommit, see Working with Repositories, Working with Pull Requests , Working with Branches, and Working with User Preferences.