Working with commits in AWS CodeCommit repositories - AWS CodeCommit

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.