Jump to content

AWS Tutorials: Working with Code Commit


Recommended Posts

Prerequisite – Make Sure you have CodeCommit IAM Access

image-65-1024x429.png

Step 1 – Create a Git Repo

image-64-1024x395.png

Step 2 – Get a Git repo Access

Get a repo access Key for HTTPS or Upload you public key for SSH in IAM

image-66-1024x458.png image-67-1024x467.png

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

image-68-1024x397.png

The post AWS Tutorials: Working with Code Commit appeared first on DevOpsSchool.com.

View the full article

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...