Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Is there a way I can move a project that is on BitBucket to AWS CodeCommit and keep all the commit history?
如果您将代码推送到 AWS,它应该具有完整的提交历史记录。首先在 AWS 控制台中创建存储库,然后
# On your local machine cd path/to/git/repo git remote add aws git@git-codecommit.us-east-1.amazonaws.com/v1/repos/your-repo-name git push -u aws master
当您将分支推送到另一个存储库时,完整的提交历史记录会随之而来。从 AWS 存储库中签出代码的任何人都将能够看到所有提交。