SQL Source Control 7

Your first commit

If you're the first person to link a database to source control, you need to make what's called an initial commit. This adds all the objects in the database to your source control repository.

Linking a database to source control just associates a database with a repository. It doesn't add anything to that repository.

To make an initial commit:

  1. In SQL Source Control, open the Commit tab. 
  2. Make sure all the changes are selected.
  3. Enter a commit comment - for example, "Initial commit".
  4. Click Commit.
    SQL Source Control commits the changes to source control.

Great! Your database is now in source control.

Now you can make changes to your database, and commit them to source control.


Didn't find what you were looking for?