Push a Scratch Repository to a Remote Repository

If you chose to use a scratch repository when creating your extension, your project's team members cannot work with your extension unless you create a remote repository. To share your scratch repository with your team members, you'll need to push its content to a Git repository that VB Studio will create for you.

  1. Click the Git menu in the header or in the Git panel, and select Push.
  2. In the Push Scratch Repository to Remote dialog, enter a name (and optionally, a description) for the Git repository that VB Studio will create for you.
  3. By default, VB Studio creates packaging and build jobs and adds them to a CI/CD pipeline, allowing you to build and publish your changes when you click Publish. A CI/CD pipeline gives you the option to publish changes to more than one environment and to perform some lifecycle operations. If you don't need these capabilities, click CI/CD Pipeline to toggle off the setting and not create these jobs and pipelines. Your changes will then be merged directly to your Git repository's main branch and deployed immediately to your Development environment when you click Publish.

    Note:

    The CI/CD pipeline is an extension-level setting that impacts everyone collaborating on the extension, including those using it in Express mode. Before you enable or disable the pipeline, make sure it's the optimal configuration for all those who work on the extension. Once you decide on a setting, it's a good idea not to change it unless your requirements change significantly.

    If you don't see the CI/CD Pipeline option, it means an environment isn't associated with your workspace. To add an environment with a suitable deployment target, see Set Up an Environment.

  4. Enter a commit message.
  5. Click Push Repository.