- AWS Automation Cookbook
- Nikit Swaraj
- 174字
- 2021-07-02 23:00:38
How to do it...
AWS CodeCommit is configured just like other Git-based repositories, such as GitHub. The following diagram shows how we use a development machine, AWS CLI/AWS Console, and CodeCommit to create and manage a repository:

(Reference: AWS CodeCommit Docs)
The basic workflow is described as follows:
- Using AWS CLI or CodeCommit Console, we can create a CodeCommit repository.
- Post that, use git clone in the CodeCommit repository URL on your local development machine.
- Once the repository gets cloned into the development machine, make the changes in the repository by adding to or editing the files. After that, enter the git add command and put it into the staging area, commit by giving a change message, and then push it back to the repository.
- After that, we can carry out git pull to synchronize the code in the AWS CodeCommit repository with our local repository. At this point in time, you will be working with the latest changes and the versions of the files.
推薦閱讀
- 零起步輕松學單片機技術(第2版)
- Design for the Future
- Seven NoSQL Databases in a Week
- Spark編程基礎(Scala版)
- Learning Apache Spark 2
- Mastering D3.js
- Google App Inventor
- Windows環境下32位匯編語言程序設計
- 多媒體制作與應用
- 青少年VEX IQ機器人實訓課程(初級)
- Mastering Predictive Analytics with scikit:learn and TensorFlow
- MPC5554/5553微處理器揭秘
- 計算機應用基礎實訓(職業模塊)
- Deep Learning Essentials
- Serverless Design Patterns and Best Practices