Demo: Creating Branches in CodeCommit Repository
Follow step-by-step instructions to create a branch in AWS CodeCommit.
We'll cover the following...
It's essential to maintain the repository in a consistent state and “build-ready” all the time. This will allow the teams to deploy the code to production anytime.
Branching strategy
One of the most time-tested approaches to achieve that, especially when multiple developers are working on a project, is the branching strategy. A best practice to implement is for the developers to check in the code consistently.
Both can be achieved by having the developers create a branch as they start working on a feature. They can consistently check their code in their local repository and push it to the remote repository once it's build-ready. Let’s learn how to use AWS CLI and create a branch in CodeCommit.