Prerequisite – Make Sure you have CodeCommit IAM Access
Step 1 – Create a Git Repo
Step 2 – Get a Git repo Access
Get a repo access Key for HTTPS or Upload you public key for SSH in IAM
Step 2 – Code commit/push/pull request
git clone https://git-codecommit.us-east-1.amazonaws.com/v1/repos/rajesh
git config user.name "Rajesh Kumar"
git config user.email "rajesh@devopsschool.com"
git add .
git commit -m:adding first"
git commit -m"adding first"
git push origin master
git branch dev
git checkout dev
clear
touch dev.txt;git add .;git commit -m"adding commit"
git push origin dev
Verify at code CodeCommit
Latest posts by Rajesh Kumar (see all)
- What is Mobile Virtual Network Operator? - April 18, 2024
- What is Solr? - April 17, 2024
- Difference between UBUNTU and UBUNTU PRO - April 17, 2024