Setup codecommit on Windows

For detailed instructions see –

These are the main commands to give in Git console or Terminal.

  • cd ~
  • ssh-keygen
  • cd .ssh
  • notepad

Copy the key and upload it to AWS IAM. Copy the SSH Key ID generated created and paste it in ~/.ssh/config file. The file content will be

Host git-codecommit.*
    IdentityFile ~/.ssh/id_rsa

Go back to terminal and give following commands

  • ssh

If you see a success message, you can continue with cloning repository.

  • git clone ssh:// my-demo-repo
error: Uh oh ...