Connect to a Git repository
Learn how to connect the integrated development experience to the Git repository that holds your business configuration, and open your configuration files in the editor.
Prerequisites
Before you connect a Git repository, make sure you have the following requirements:
-
The integrated development experience installed in Cursor or VS Code.
-
Git installed on your computer and available on your system path. Download Git from git-scm.com/downloads.
-
The URL of the Git repository that holds your business configuration. Read access to the repository. You also need write access to commit and push changes.
-
An empty folder open in your editor. The integrated development experience clones your business configuration repository into that folder. If the repository is already cloned on your computer, open the folder that contains the clone instead.
Result
The integrated development experience connects to the Git repository and displays the discovered business configuration files in the RELTIO IDE view. You can open a configuration, browse its objects, perform supported modeling actions, add configuration files that are not named BusinessConfig.json, and remove configurations or disconnect the repository.
The integrated development experience uses Git to clone or detect the repository and open the business configuration files hosted in it. After that, your edits are saved as regular file changes. Use the built-in Source Control view in VS Code or Cursor to review diffs, stage changes, commit, and push them to the repository.
Troubleshooting
If the integrated development experience cannot clone the repository, use the following troubleshooting steps:
-
Repository not found: The selected account might not have access to the repository, or the repository URL might be incorrect. Verify the URL, select another account, or select Add a new account. -
Git executable not found: Install Git from git-scm.com/downloads and ensure that Git is available on your system path. Close and reopen the editor, and then rungit --versionin the terminal. After the command displays the installed Git version, select Connect your Repository again.