A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-compare-commits.html below:

Compare commits in AWS CodeCommit

Compare commits in AWS CodeCommit

You can use the CodeCommit console to view the differences between commit specifiers in a CodeCommit repository. You can quickly view the difference between a commit and its parent. You can also compare any two references, including commit IDs.

Compare a commit to its parent

You can quickly view the difference between a commit and its parent to review the commit message, the committer, and what changed.

  1. Open the CodeCommit console at https://console.aws.amazon.com/codesuite/codecommit/home.

  2. On the Repositories page, choose the repository where you want to view the difference between a commit and its parent.

  3. In the navigation pane, choose Commits.

  4. Choose the abbreviated commit ID of any commit in the list. The view changes to show details for this commit, including the differences between it and its parent commit.

    You can show changes side by side (Split view) or inline (Unified view). You can also hide or show white space changes. You can also add comments. For more information, see Comment on a commit.

    Note

    Your preferences for viewing code and other console settings are saved as browser cookies whenever you change them. For more information, see Working with user preferences.

    Note

    Depending on line ending style, your code editor, and other factors, you might see entire lines added or deleted instead of specific changes in a line. The level of detail matches what's returned in the git show or git diff commands.

  5. To compare a commit to its parent, from the Commit visualizer tab, choose the abbreviated commit ID. The commit details, including the changes between the commit and its parent, are displayed.

Compare any two commit specifiers

You can view the differences between any two commit specifiers in the CodeCommit console. Commit specifiers are references, such as branches, tags, and commit IDs.

  1. Open the CodeCommit console at https://console.aws.amazon.com/codesuite/codecommit/home.

  2. On the Repositories page, choose the repository where you want to compare commits, branches, or tagged commits.

  3. In the navigation pane, choose Commits, and then choose Compare commits.

  4. Use the boxes to compare two commit specifiers.

  5. After you have selected the specifiers, choose Compare.

    You can show differences side by side (Split view) or inline (Unified view). You can also hide or show white space changes.

  6. To clear your comparison choices, choose Cancel.

View commit details

Comment on a commit

Did this page help you? - Yes

Thanks for letting us know we're doing a good job!

If you've got a moment, please tell us what we did right so we can do more of it.

Did this page help you? - No

Thanks for letting us know this page needs work. We're sorry we let you down.

If you've got a moment, please tell us how we can make the documentation better.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4