Skip to content
Menu
myCloud myCloud

Personal short notes about Cloud

  • XMPie
  • AWS
    • AWS Topics
    • AWS Architecture
    • AWS CLI
    • AWS Health
    • AWS Policies
    • AWS Cost
  • CHEAT SHEETS
myCloud myCloud

Personal short notes about Cloud

AWS Code Commit

By mikado on October 23, 2022

Code Commit repo, clone, add, commit, push

  1. Create a IAM user
  2. Get Credentials for HTTPS Git
  3. Cloning a repo –> in Code Commit –> Clone HTTPS
  4. In Bash –> git clone https://git-codecommit.us-east-1.amazoneaws.com/v1/repos/cicd-repo
  5. ll –> check the cicd-repo folder created
  6. Cd into this folder and copy new code into folder
  7. git status
  8. git add .
  9. git status
  10. git commit -m “”First Commit”
  11. git push

Branching

  1. git checkout -b feature1 <– branch name
  2. Change your html code
  3. git status
  4. git add .
  5. git commit -m “Feature3”
  6. git push <– failed
  7. Git push –set-upstream origin feature1

Merge by creating pull requests

  1. Create pull request
  2. Set Destination (master) and Source (feature1) and click compare
  3. Will tell if confilcts or not –> mergeable
  4. Request must be approved
  5. When merging, we have 3 options
    • Fast forward merge
    • Squash and merge
    • 3-way merge
Category: AWS Topics

Categories

  • AWS (4)
  • AWS Architecture (8)
  • AWS CLI (5)
  • AWS Cost (3)
  • AWS Health (4)
  • AWS Policies (2)
  • AWS Topics (24)
  • CHEAT SHEETS (16)
  • Container (21)
  • Datadog (4)
  • Jenkins (2)
  • Linux (9)
  • Microsoft (7)
  • Python (1)
  • SCRIPTS (9)
  • Terraform (5)
  • XMPie (6)
©2025 myCloud
Click to Copy