How to migrate GIT repository from bitbucket to AWS CodeCommit

Steps:

Get code from bitbucket:

git clone –bare https://<username>@bitbucket.org/<userdir>/<project>.git

cd <project>.git

git push –mirror ssh://git-codecommit.us-east-2.amazonaws.com/v1/repos/<project>

1 thought on “How to migrate GIT repository from bitbucket to AWS CodeCommit

Leave a Reply

Your email address will not be published. Required fields are marked *

9  +    =  19

Skynin cache:
Array ( [cache mode] => capture [requestKey] => 79948983727e47066f821c637db911dd58.sc [skycache_disable_capture] => false )