Source control operations in ServiceNow Studio
Most source control operations in ServiceNow Studio run from within the platform. Some operations — such as creating branches and tags — can also be performed 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 | Enables 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 connection details and 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 | Saves local changes and removes them from the working branch so you can return to them later. For more information, see Stash local changes. | ServiceNow Studio |
| Switch branch | Updates the local version of the application to match a different repository branch. For more information, see Switch repository branches. | ServiceNow Studio |
| Create branch | Creates a branch in the repository to maintain a separate version of the application. For more information, see Create a repository branch. |
|
| Create tag | Creates a tag in the repository to identify a specific application version. For more information, see Create a tag to link to a particular application version. |
|
| Manage stashes | Enables developers to apply or delete stashed changes. For more information, see Manage stashed changes. | ServiceNow Studio |
| Create repository | Creates a Git repository to store application changes. | Git repository |
| Create credentials | Creates credentials for repository access. | Git repository |
| Grant access to repository | Grants read and write access to the repository for a specific set of credentials. | Git repository |