Source control operations in ServiceNow Studio
The source control integration primarily supports operations from ServiceNow Studio, but can also support some operations directly from the Git repository.
| Operation | Description | Available from |
|---|---|---|
| Import from source control | Imports an application from the repository to the local instance. For more information, see Import an app from source control in ServiceNow Studio. | ServiceNow Studio |
| Link to source control | Allows developers to manage application changes from a Git repository. For more information, see Link an app to source control in ServiceNow Studio. | ServiceNow Studio |
| Edit repository configuration | Updates the Git repository user credentials. For more information, see Edit a Git repository configuration in ServiceNow Studio. | ServiceNow Studio |
| Apply remote changes | Updates the local version of the application to match the repository version. For more information, see Pull changes from a repository. | ServiceNow Studio |
| Commit changes | Updates the repository version of the application to match the local version. For more information, see Commit changes to a repository. | ServiceNow Studio |
| Stash local changes | Removes and saves local changes for later work. For more information, see Stash local changes. | ServiceNow Studio |
| Switch branch | Updates the local version of the application to match the repository branch version. For more information, see Switch repository branches. | ServiceNow Studio |
| Create branch | Creates a branch in the repository to save a different version of the application. For more information, see Create a repository branch. |
|
| Create tag | Creates a tag in the repository to link to a particular application version. For more information, see Create a tag to link to a particular application version. |
|
| Manage stashes | Allows developers to apply or delete stashed changes. For more information, see Manage stashed changes. | ServiceNow Studio |
| Create repository | Creates a repository to store application changes. | Git repository |
| Create credentials | Creates credentials to the repository. | Git repository |
| Grant access to repository | Provides read and write access to the repository tied to a specific set of credentials. | Git repository |