I'm not able to commit any files to my new CodeCommit repository, not sure why.
I've been able to clone my repository, so I'm able to connect to it. This would seem to rule out authentication issues. However, once I add and then commit a file I get the following error:
$ git commit -m "test"
*** Please tell me who you are.
git config --global user.email "firstname.lastname@example.org"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: empty ident name (for <(null)>) not allowed
git config --global -l
helper = !aws codecommit credential-helper --profile=IAMUserName $@
UseHttpPath = tru
As stated by the error message, you are not able to sign-off your commits without specifying an author name and email address.
Execute the following commands in the repository before committing:
git config user.email "email@example.com" git config user.name "Code Monkey"
and then commit:
git commit -m "test"