Migration of source code repositories from Microsoft Team Foundation Server (TFS) to Git (Gitlab). Existing source code systems were migrated with a focus on the existing history, spanning a period of approximately 10 years.
Supplement
Prior to the migration, it was decided to transfer existing documents and database models to a separate repository. The migration for this only includes the latest state, the historical data was not transferred. The overall goal was to limit the size of the repositories in Git. After the migration, the Git repositories were cleaned up by removing non-existent source code branches. The history was analyzed and corrected accordingly. After the migration, the source code and history in Git were compared with the existing data in TFS. The migration was carried out on command line / bash.
Subject description
By migrating the source code from TFS to Git, seamless development of the application was ensured.