AWS Tutorials: Working with Code Commit

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

Rajesh Kumar
Follow me
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x