Edit a Git repository configuration in ServiceNow Studio
Edit a Git repository configuration in ServiceNow Studio to update the network protocol, credentials, or other connection details.
Before you begin
Role required: admin
Procedure
Navigate to All > App Engine > ServiceNow Studio.
In the file navigator, select the application you want to open.
Select App details to open the app in the canvas.
Select Source control > Edit repository configuration.
Image omitted: source-control-edit-repo-purple.png
Edit Repository Configuration menu item
Edit Repository Configuration menu item
- Update the fields you want to change.
| Field | Description |
|---|---|
| Network protocol | Protocol for source control: HTTPS or SSH. |
| URL | The URL of the Git repository. |
| Branch | The current branch for the repository. |
| Connect with a MID Server | Whether or not to use a MID Server connection, which enables access to repositories behind a firewall.Note: If you have no MID Server name, select a new one from the drop-down list. If you select a new MID Server, apply the change in the Source control menu before performing any further source control operations to avoid errors. |
| Default email | The committer email address, taken from the sys_user record when available. If a committer's sys_user record email field is empty, the system generates an alternate email address (username@instancename.service-now.com). Enter a default email address to use when no sys_user email is available. To use the default email address in all cases, select Always use this email for commits from all developers. |
| Credential | The saved credentials to use for the source control connection. All application developers on the instance share a single set of credentials per repository. For more information about working with credentials, see Get started with credentials. |
Image omitted: aes-app-properties-repo-purple.png
View and edit application repository configurations.
View and edit application repository configurations.
Select Save.
The repository configuration is updated and the new settings apply to all future source control operations for this application.
Parent Topic:Source control integration in ServiceNow Studio