Using source control in SQL Operations Studio (preview)

SQL Operations Studio (preview) supports Git for version/source control.

Git support in SQL Operations Studio (preview)

SQL Operations Studio (preview) ships with a Git source control manager (SCM), but you still need to install Git (version 2.0.0 or later) before these features are available.

Open an existing Git repository

  1. Under the File menu, select Open Folder...
  2. Browse to the folder that contains your files tracked by git, and click Select Folder. Subfolders in your local repository are okay to select here.

Initialize a new git repository

  1. Select Source Control, then select the git icon.

    Source control git icon

  2. Enter the path to the folder you want to initialize as a Git repository and press Enter.

    initialize Git repository

Working with Git repositories

SQL Operations Studio (preview) inherits its Git implementation from VS Code, but does not currently support additional SCM providers. For the details about working with Git after you open or initialize a repository, see Git support in VS Code.

Additional resources