AWS CodeCommit
User Guide (API Version 2015-04-13)

The procedures in this guide support the new console design. If you choose to use the older version of the console, you will find many of the concepts and basic procedures in this guide still apply. To access help in the new console, choose the information icon.

Migrate to AWS CodeCommit

You can migrate a Git repository to an AWS CodeCommit repository in a number of ways: by cloning it, mirroring it, migrating all or just some of the branches, and so on. You can also migrate local, unversioned content on your computer to AWS CodeCommit.

The following topics show you some of the ways you can migrate a repository. Your steps might vary, depending on the type, style, or complexity of your repository and the decisions you make about what and how you want to migrate. For very large repositories, you might want to consider migrating incrementally.

Note

You can migrate to AWS CodeCommit from other version control systems, such as Perforce, Subversion, or TFS, but you must first migrate to Git.

For more options, see your Git documentation.

Alternatively, you can review the information about migrating to Git in the Pro Git book by Scott Chacon and Ben Straub.