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

Cloud Computing

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?

1
Answers

Replies

Ans: Yes, it is possible to get the information about the differences for a commit specifier in a repository in AWS CodeCommit. The differences could be with the tag, branch, commit ID, Head, or any other qualified references. The results are allowed to be limited to a specified path. Below is the command that helps you to get the information.


$ 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

 
 

If you want to unleash your potential in this competitive field, please visit the Cloud Computing course page for more information, where you can find the Cloud Computing tutorials and Cloud Computing frequently asked interview questions and answers as well.

 

This topic has been locked/unapproved. No replies allowed

Login to participate in this discussion.

Leave a reply

Before proceeding, please check your email for a verification link. If you did not receive the email, click here to request another.