I'm trying to move a project repository from AWS CodeCommit to BitBucket by using
git remote set-url origin git@bitbucket.org:******/********.git
to change the repository and then push the code to bitBucket repository but AWS CodeCommit not allowing. Is there any other solution to move codes from AWS CodeCommit to BitBucket keeping all the previous commit records.