Home icon

How to migrate your AWS CodeCommit repository to another Git provider

DevOps & Developer Productivity Blog



This article provides instructions on how to migrate an AWS CodeCommit repository to another Git provider, such as GitLab or GitHub.

Specifically, the article covers:

  • Prerequisites for migration, including having the necessary credentials and permissions for both AWS and the new provider
  • Detailed steps for migrating to GitLab or GitHub, as well as a generic migration process for other providers
  • Post-migration tasks, such as updating CI/CD pipelines, fixing protected branches, and informing team members
  • Deleting the original AWS CodeCommit repository after successful migration


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Aug 15
2024
AWS CodeBuild now supports using GitHub Apps to access source repositories
Aug 22
2024
Use AWS CloudFormation Git sync to configure resources in customer accounts
Jun 17
2024
AWS CodeBuild now supports organization and global GitHub webhooks
Nov 24
2025
The Future of AWS CodeCommit

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.