Organization Admin permissions are required to access and modify a model’s git settings.
Test git connection
Clicking the Test git connection button will test the connection’s Deploy key setup. Note: This doesn’t currently test the repository’s webhook setup.Unlink git
To disconnect the repository from the model, click the Unlink git button.Pull request settings
Base branch
Defines the target branch for Omni pull requests. Omni defaults this setting tomain, but it may be different for your repository.
If you’re unsure which branch is the default for your repository, check your repository’s settings page:
Pull request required
Enabling this setting will require all changes to the model to be made through a pull request. Otherwise, changes can be directly promoted to the shared model. If you’re familiar with git, this is equivalent to committing changes directly to the repository’s base (default) branch.Require for system syncs
Some Omni actions, such as schema refreshes, API events, and model syncs, will automatically commit changes to the repository’s base branch, making them visible in the shared model. Enabling the Pull request required > Require for system syncs setting will require that these actions are merged via a pull request. To use this setting, the following settings must also be enabled:- Pull request required
- Branch based schema refresh for the connection associated with the model
Git follower mode
Enables follower mode for the model.Source model name
Determines the path to the model files in the connected repository. If follower mode is enabled, values for the leader and follower(s) must match.Always create branches
When the Create Omni branches for all pull requests setting is enabled, pull requests in the connected repository will create a corresponding branch in Omni.Custom web URL
When your git repository’s SSH URL goes through a tunnel or VPC, Omni may not be able to automatically generate valid web links to view pull requests or browse repository files. The Custom web URL setting allows you to specify an alternate HTTPS URL that Omni will use instead. When this field is set, Omni will use the custom URL to generate:- Pull request URLs
- Repository file browsing links
[email protected]:your-org/your-repo.git but it goes through a private tunnel, you can set the custom web URL to https://github.com/your-org/your-repo to ensure repository links work correctly.