[AWS] Move Code from git to CodeCommit

1. Download the git repo into local.

2. Copy the SSH / HTTPS URL from CodeCommit Repo

Then run:

git remote set-url origin ssh://code-commit.address.xxxx

3. Push the code

 

Now the code will be uploaded to CodeCommit

 

posted @ 2021-02-17 21:24  Zhentiw  阅读(47)  评论(0)    收藏  举报