Is there a way I can move a project that is on BitBucket to AWS CodeCommit and keep all the commit history?
If you push your code to AWS, it should have the full commit history. First make the repository in the AWS console, then
# On your local machine
cd path/to/git/repo
git remote add aws [email protected]/v1/repos/your-repo-name
git push -u aws master
When you push a branch to another repository, the full commit history goes along with it. Anyone who checks the code out of the AWS repository will be able to see all commits.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With