How to create a branch in an AWS CodeCommit repository

0 votes

Hi Team,

I am new to AWS CodeCommit. I want to create a branch in the repository. How can I do that?

Nov 22, 2020 in AWS by akhtar
• 38,170 points
124 views

1 answer to this question.

0 votes

Hi@akhtar,

This example creates a branch in an AWS CodeCommit repository. This command produces output only if there are errors.

$ aws codecommit create-branch --repository-name MyDemoRepo --branch-name MyNewBranch --commit-id ID
answered Nov 22, 2020 by MD
• 95,160 points

Related Questions In AWS

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,160 points
126 views
0 votes
1 answer

How to create a commit in AWS CodeCommit?

Hi@akhtar, The following create-commit example demonstrates how to create an ...READ MORE

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

How to create a pull request in AWS CodeCommit?

Hi@akhtar, The following create-pull-request example creates a pull request named ...READ MORE

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

How to delete a branch in AWS CodeCommit?

Hi@akhtar, You can delete a branch from a repository ...READ MORE

answered Nov 23, 2020 in AWS by MD
• 95,160 points
89 views
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer

How to create a new, empty repository in AWS CodeCommit?

Hi@akhtar, You can create a repository and associate it with ...READ MORE

answered Nov 23, 2020 in AWS by MD
• 95,160 points
78 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,160 points
194 views