When selecting Git as a file system, you will see the General tab.
General Tab
The following settings are available in the General tab in the Git File System profile:
Setting | Description |
---|---|
Repository URL | The URL to the repository. |
Token | Token to access the repository. This field is optional. |
Use Secrets Profile | Select the checkbox to use a Secrets Profile to get the Token. |
Get Branches | Click this button to fetch the branches from the repository. If the connection is working the Branch combo box will be populated. If the connection fails, an error dialog will be shown. |
Branch | Select the branch to use. Note! It is not possible to create a new branch using Usage Engine. The branch must already exist in the repository specified in the Repository URL. |
Preview Repository | Click here to browse the folders in the repository. It is only possible when the configuration is saved. |
Note!
When you do a Save As operation, the remote repository is cloned to the platform and may take a little long time. This directory is $MZHOME/gitrepos by default. It can be changed by setting the property mz.git.basePath to some other path accessible from the Platform
It is not possible to change the Repository URL or branch once the configuration is saved.
Import of Git File System Profile
An imported new Git File System Profile configuration will always be invalid since the repository has not been cloned. You clone the repository in the profile by clicking the Clone Repository button.
When the cloning is done the text on the button will change to Preview Repository, and the configuration should now be valid, which you can verify by clicking the Validate button.