Chapter 5. Importing projects from Git repositories
Git is a distributed version control system. It implements revisions as commit objects. When you save your changes to a repository, a new commit object in the Git repository is created.
Business Central uses Git to store project data, including assets such as rules and processes. When you create a project in Business Central, it is added to a Git repository that is connected to Business Central. If you have projects in Git repositories, you can import the project’s master branch or import the master branch along with other specific branches into the Business Central Git repository through Business Central spaces.
- Red Hat Decision Manager projects exist in an external Git repository.
- You have the credentials required for read access to that external Git repository.
- In Business Central, go to Menu → Design → Projects.
- Select or create the space into which you want to import the projects. The default space is MySpace.
- In the upper-right corner of the screen, click the arrow next to Add Project and select Import Project.
- In the Import Project window, enter the URL and credentials for the Git repository that contains the project that you want to import and click Import. The Import Projects page is displayed.
Optional: To import master and specific branches, do the following tasks:
- On the Import Projects page, click the branches icon.
In the Branches to be imported window, select branches from the list.Note
You must select the master branch as a minimum.
- Click Ok.
- On the Import Projects page, ensure the project is highlighted and click Ok.