How to create a pull request in AWS CodeCommit?

Cloud Computing

Hi Team,

I have created one repository in AWS CodeCommit. I want to create a pull request in the repository. How can I do that?


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.

1
Answers

Replies

Ans: The create-pull-request is the command that helps in creating a pull request in the AWS CodeCommit. In the below example, a request named  Pull1 Request with a description that will target the NewBranch which is the source branch, will be merged to the default branch master in the Aws code commit repository named “ Testdemo”


$ aws codecommit create-pull-request \


    --title "Pull1  Request" \


    --description \


    --client-request-token 123Example \


    --targets repositoryName=TestDemo,sourceReference=NewBranch

 
 

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.
WhatsApp
To Top