Surprisingly, there are a few steps to get started on  AWS CodeCommit…from a fresh OSX laptop. After bouncing around the AWS documentation…here are the steps.

  1. Install brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  1. install python and pip and aws cli
brew install python git
sudo easy_install pip
sudo pip install awscli
  1. Configure your keys — use region: us-east-1, format: json
aws configure

4. Setup git to use the credential helper

git config --global credential.helper '!aws codecommit credential-helper $@'
git config --global credential.UseHttpPath true
  1. Finally,  clone a codecommmit repo you have created/have access to
git clone https://git-codecommit.us-east-1.amazonaws.com/v1/repos/<name>