How to get information about differences for a commit specifier in a repository in AWS CodeCommit

0 votes

Hi Guys,

I have some commits in the AWS COdeCommit repository. I want to get information about differences for a commit specifier in a repository. How can I do that with CLI command?

Nov 23, 2020 in AWS by akhtar
• 38,210 points
131 views

1 answer to this question.

0 votes

Hi@akhtar,

You can get information about the differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID, or other fully qualified references). Results can be limited to a specified path. 

$ aws codecommit get-differences --repository-name MyDemoRepo --before-commit-specifier example --after-commit-specifier example1 --before-path tmp/example-folder --after-path tmp/renamed-folder
answered Nov 23, 2020 by MD
• 95,300 points

Related Questions In AWS

0 votes
1 answer

How to get information about a branch in AWS CodeCommit?

Hi@akhtar, You can get information about a repository ...READ MORE

answered Nov 23, 2020 in AWS by MD
• 95,300 points
106 views
0 votes
1 answer

How to change the default branch for a repository in AWS CodeCommit?

Hi@akhtar, You can set or change the default branch name ...READ MORE

answered Nov 24, 2020 in AWS by MD
• 95,300 points
344 views
0 votes
1 answer

How to get the contents of a folder in an AWS CodeCommit repository?

Hi@akhtar, The following get-folder example demonstrates how to get the ...READ MORE

answered Nov 25, 2020 in AWS by MD
• 95,300 points
167 views
0 votes
1 answer

How to create a branch in an AWS CodeCommit repository?

Hi@akhtar, This example creates a branch in an ...READ MORE

answered Nov 22, 2020 in AWS by MD
• 95,300 points
178 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to view information about a commit in a repository in AWS CodeCommit?

Hi@akhtar, You can get information about a commit, ...READ MORE

answered Nov 23, 2020 in AWS by MD
• 95,300 points
88 views
0 votes
1 answer

How to get information about a repository in AWS CodeCommit?

Hi@akhtar, You can get all the information about ...READ MORE

answered Nov 23, 2020 in AWS by MD
• 95,300 points
81 views