Source-control databases

Last modified: May 28, 2025

This section explains how to integrate SQL Server databases with various source control systems to manage versioning, collaboration, and change tracking. It covers linking databases to repositories in Git, GitHub, GitLab, Bitbucket, Azure DevOps, TFVC, SVN, and other systems. You’ll find guidance on using dedicated or shared development models, committing and retrieving changes, working with branches, resolving conflicts, and linking commits to issues. The section also includes instructions for deploying databases from version control, generating migration scripts, and resolving common integration issues.

In this section

Link to Source Control

Work with Source Control

Work with particular cases