With Source Format selection, you can choose the format of the source to be kept in GIT . This article explains each of the options available in this drop-down.

GITSourceFormat.png

Auto Detect

If the repository is new: the default format is Metadata API. A default package.xml will be created and committed to the repository. All changes will be committed to GIT in Metadata format

If the repository not new and already has source code: Copado Essentials will try to detect the source format by parsing the repository.

  • If package.xml file exists in the repository – Metadata format will be used

  • If sfdx-project.json file exists in the repository – Salesforce DX format will be used

  • If both package.xml and sfdx-project.json are not available, Copado Essentials will treat the repository as new and create a new package.xml

Metadata API

All changes will be committed to GIT in Metadata format

If package.xml file doesn't exist, a default package.xml will be created and committed to GIT.

Salesforce DX

All changes will be committed to GIT in DX format

If sfdx-project.json file doesn't exist, a default sfdx-project.json will be created and committed to GIT.

Did this answer your question?