How to create a branch in an AWS CodeCommit repository?

Cloud Computing

Hi Team,

I am new to AWS CodeCommit. I want to create a branch 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-branch command is used to create a branch in an AWS CodeCommit repository. This command provides the output only if there are any errors.


$ aws codecommit create-branch --repository-name DemoRepo --branch-name NewBranch --commit-id ID

 
 

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