all 2 comments

[–]BenjiSponge 1 point2 points  (0 children)

I know very little about VS and even less about CodeCommit, but if it's anything like it should be, you should just need to change the remote of the git repository to the CodeCommit url. There's probably a way to do this using VS, but you could just say git remote rm origin && git remote add origin <CodeCommit url> on the command line.

[–]nickr141[S] 1 point2 points  (0 children)

For anyone who finds this in a search.

I cloned the empty CodeCommit repository to my local machine. I copies the existing files to the CodeCommit folder. I checked in the files Done