Beyond the basics of CodeCommit
We now have our microservice source code available in the CodeCommit repository. Now, let’s learn about more features provided by the CodeCommit Git repositories.
Creating branches
A branch in a Git system is a pointer to a snapshot of the changes. The following are the steps to create a new branch in a CodeCommit repository:
- In order to create a new branch in CodeCommit, click on the Branches link in the left panel. This will take you to a page displaying all of your existing Git branches. On this screen, click on the Create branch button:
Figure 5.18 – CodeCommit create branch repository
- In the pop-up window that appears, enter a new branch name and specify a source to create the branch from. Then, click the Create branch button to create the branch:
Figure 5.19 – CodeCommit create new branch popup
- If successful, you should see your newly...