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.”

Viewing the history of changes to a file

Focus mode
Viewing the history of changes to a file - Amazon CodeCatalyst

You can view the the history of changes to a file in your source repository in the Amazon CodeCatalyst console. This can help you understand the changes made to the file by various commits to the branch where you choose to view the history of the file. For example, if you view the history of changes to the readme.md file in the main branch of the source repository, you will see a list of commits that included changes to that file in that branch.

Note

You can't view the history of a file in a linked repository in the CodeCatalyst console.

To view the history of a file in the CodeCatalyst console

  1. Navigate to the project where you want to view the history of a file. For more information, see Viewing a source repository.

  2. Choose the name of the repository from the list of source repositories for the project. Alternatively, in the navigation pane, choose Code, and then choose Source repositories.

  3. Choose the repository where you want to view the history of a file. Choose the branch where you want to view the history the file, and then choose the file from the list. Choose View history.

  4. Review the list of commits that included changes to this file in the specified branch. To view the details of the changes included in a particular commit, choose the commit message for that commit in the list. The differences between that commit and its parent commit are displayed.

  5. To review the history of changes to the file in another branch, use the branch selector to change views to that branch, choose the file from the file list, and then choose View history.

Note

You cannot view the history of changes to Git submodules in the CodeCatalyst console. For more information about Git submodules, see the Git documentation.

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