Create repository on AWS CodeCommit

0 votes
How di I create a new repository on AWS CodeCommit? I'm asked to create a repo and a file inside the repo for my project. Any kind of help will be appreciated. Thanks a lot!
Jun 13, 2019 in AWS by Travis
751 views

1 answer to this question.

0 votes

Go to your AWS login page and log into your AWS account. If you do not have an account, proceed by creating a free account. Once you log-in, you should see a page as shown below

ss1 - AWS CodeCommit - Edureka

Search for CodeCommit and click on that service. Further, click on Create Repository to create a repository.

CR1 - AWS CodeCommit - Edureka

You’ll be prompted to add your Repository Name and Description. Add those and click on Create.

CR2 - AWS CodeCommit - Edureka

You should something similar to this, notifying a success for creating a repository.

CR2OP - AWS CodeCommit - Edureka

There are two ways of connecting your repository – SSH and HTTPS. In this case, I’ll be using HTTPS. Now that a repository has been created, go ahead and create files in the repository. When you create a repository, it’s always empty. You’ll have to create and add files. Get inside the repository that you’ve created and click on Create file.

CF1 - AWS CodeCommit - Edureka

Once you’ve created the file. Go ahead and add code to the file.

CF2i - AWS CodeCommit - Edureka

Now that you’ve written your code, you need to commit these changes. Add Filename, Author name, Email ID, Commit message and click on Commit Changes.

cc1 - AWS CodeCommit - Edureka

Now when you navigate to the Repository section by Clicking on Repository, you should see your repository there.

NavRepo - AWS CodeCommit - Edureka

NavRepo-OP - AWS CodeCommit - Edureka

Go ahead and click on your repository, you should see the file that you just created.

answered Jun 13, 2019 by Hannah

Related Questions In AWS

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 23, 2020 in AWS by MD
• 95,440 points
1,081 views
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,440 points
617 views
0 votes
1 answer

Create a subsription on aws SNS

Hey @yamini, follow these steps: Login to your ...READ MORE

answered Jul 25, 2019 in AWS by Travis
643 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 23, 2020 in AWS by MD
• 95,440 points
492 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 52,360 points
941 views
+1 vote
1 answer
0 votes
1 answer

What are branches in AWS CodeCommit and how to create one?

To create branches, click on Branches on ...READ MORE

answered Jun 13, 2019 in AWS by Trisha
1,028 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP