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 *




Enter Captcha Here :