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](https://www.edureka.co/blog/wp-content/uploads/2019/06/ss1.png)
Search for CodeCommit and click on that service. Further, click on Create Repository to create a repository.
![CR1 - AWS CodeCommit - Edureka](https://d1jnx9ba8s6j9r.cloudfront.net/blog/wp-content/uploads/2019/06/CR1.png)
You’ll be prompted to add your Repository Name and Description. Add those and click on Create.
![CR2 - AWS CodeCommit - Edureka](https://d1jnx9ba8s6j9r.cloudfront.net/blog/wp-content/uploads/2019/06/CR2.png)
You should something similar to this, notifying a success for creating a repository.
![CR2OP - AWS CodeCommit - Edureka](https://d1jnx9ba8s6j9r.cloudfront.net/blog/wp-content/uploads/2019/06/CR2-OP.png)
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](https://d1jnx9ba8s6j9r.cloudfront.net/blog/wp-content/uploads/2019/06/CF1.png)
Once you’ve created the file. Go ahead and add code to the file.
![CF2i - AWS CodeCommit - Edureka](https://d1jnx9ba8s6j9r.cloudfront.net/blog/wp-content/uploads/2019/06/CF2i.png)
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](https://d1jnx9ba8s6j9r.cloudfront.net/blog/wp-content/uploads/2019/06/cc1.png)
Now when you navigate to the Repository section by Clicking on Repository, you should see your repository there.
![NavRepo - AWS CodeCommit - Edureka](https://d1jnx9ba8s6j9r.cloudfront.net/blog/wp-content/uploads/2019/06/NavRepo.png)
![NavRepo-OP - AWS CodeCommit - Edureka](https://d1jnx9ba8s6j9r.cloudfront.net/blog/wp-content/uploads/2019/06/NavRepo-OP.png)
Go ahead and click on your repository, you should see the file that you just created.