AWS CodeCommit on OSX

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"

2. install python and pip and aws cli

brew install python git
sudo easy_install pip
sudo pip install awscli

3. 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

5. Finally,  clone a codecommmit repo you have created/have access to

git clone<name>