← Back to list

HumanGov: Implementation Of Git Repositories For Application And Infrastructure Code Using AWS Code…

In this project based on a real-world scenario, I implemented Git repositories for application and infrastructure code using AWS…

Mathanki Nirojan · 2024-06-14 19:48 · 0 claps · 2.8 min read
#git #aws #aws-cloud9 #aws-codecommit
Open on Medium ↗
Wiki topics: ☁️ · DevOps & Cloud 🔓 · Open Source

HumanGov: Implementation Of Git Repositories For Application And Infrastructure Code Using AWS Code Commit + Proof Of Concept (POC) Process Of Commit, Push And Revert Code Changes

In this project based on a real-world scenario, I implemented Git repositories for application and infrastructure code using AWS CodeCommit, and got hands-on experience with the Proof of Concept (PoC) process of commit, push, and revert code changes.

My mission was to set up a Git repository using AWS CodeCommit for HumanGov, a hypothetical Software as a Service for government organization.

Solution Architecture

Solution Architecture

Created Cloud9 environment:

Create two Git repositories on AWS CodeCommit:

Configure the AWS CLI credential helper on my AWS Cloud9 EC2 development1 environment

Clone CodeCommit repo to Developer1 Cloud9 environment

From developer1 environment create index.html file and push changes into repository

Check the git status after create index.html

Check the git status after create index.html

add index.html to local repo

add index.html to local repo

commit the changes to local repo

commit the changes to local repo

after commit check the status of git log

after commit check the status of git log

push the changes to remote repo

push the changes to remote repo

Changes were pushed to remote repo

Again from developer1 environment did some changes in index.html and push to remote repo

index.html file modified

index.html file modified

changes added and committed to local repo

changes added and committed to local repo

changes push to remote repo

changes push to remote repo

Changes reflected in remote repository index.html file

Configure the AWS CLI credential helper on my AWS Cloud9 EC2 development2 environment From there pull changes from remote repo and get the changes to develpoer2 environment

from developer2 environment try to revert back the changes developer1 did and resubmit the needed changes from developer2

get the commit details

get the commit details

revert changes from last commit

revert changes from last commit

Push Updated file to the Repository

Push Updated file to the Repository

new change reflected in repo

new change reflected in repo

Commit changes

Commit changes


메타데이터
post_id
01e66f635bd5
slug
humangov-implementation-of-git-repositories-for-application-and-infrastructure-code-using-aws-code-01e66f635bd5
url
https://medium.com/@mathanki-nirojan/humangov-implementation-of-git-repositories-for-application-and-infrastructure-code-using-aws-code-01e66f635bd5
canonical_url
https://medium.com/@mathanki-nirojan/humangov-implementation-of-git-repositories-for-application-and-infrastructure-code-using-aws-code-01e66f635bd5
author_url
https://medium.com/@mathanki-nirojan
status
ok
fetched_at
2026-06-09 15:37:30