--- title: Source control slug: '2870' canonical_url: https://docs.coveo.com/en/2870/ collection: coveo-for-sitecore-v5 source_format: adoc --- # Source control When dealing with a Coveo for Sitecore Project, it's easy to lose track of all the custom changes made. It's particularly important to track your created and modified files when upgrading Coveo for Sitecore, as new releases are frequent. ## Files to include in source control Here is a list of files that we recommend you include for version control. ### Custom `.cshtml` files Typically found under: * `\layouts\Coveo Hive\` * `\Coveo\Hive\templates\` * `\Coveo\Hive\init\` * `\Coveo\Hive\search box init\` Learn more about creating a unique search experience (see [Style the search experience](https://docs.coveo.com/en/2851/)). ### Custom `.config` files Typically found under `\App_Config\Include\Coveo\`. These files are easily recognizable by their file name which ends with `Custom.config` and are used to patch the default configuration and behavior of Coveo for Sitecore. > **Note** > > The proper handling of the [`Coveo.CloudPlatformClient.Custom.config`](#handling-files-containing-an-organization-id-organization-name-api-key-or-searchapi-key) file in source control depends on your specific use case. Learn more about configuration files (see [Introduction to the Coveo configuration files](https://docs.coveo.com/en/2352/)). ### Your code files You should include whatever code files you've written (for example, custom processors). ### Custom CSS, JS, and image files Learn more about inserting custom CSS in your search experience (see [Style the search experience](https://docs.coveo.com/en/2342/)). ### Custom serialized Sitecore items Learn more about serialized items using Unicorn or Team Development for Sitecore (TDS) (see [Unicorn vs Hedgehog TDS for Sitecore. Hmm what to choose](https://sitecorerunner.com/2017/03/01/unicorn-vs-hedgehog-tds-for-sitecore-hmm-what-to-choose/)). ## Files to exclude from source control Many version control tools offer the ability of adding an ignore file to exclude certain files from your source control. The following list includes files that shouldn't be included in your source control as they're included in every Coveo for Sitecore package and can be updated with a new release. ### Default `.config` files Typically found under `\App_Config\Modules\Coveo\`. ### Default Coveo layouts, templates, and renderings Typically found under: * `\Views\Coveo Hive\` * `\layouts\Coveo Hive\` * `\Coveo\Hive\templates\` ### Default CSS, JS, and image files Typically found under: * `\Coveo\Hive\css\` * `\Coveo\Hive\js\` * `\Coveo\Hive\image\` ## Handling files containing an organization ID, organization name, API key, or SearchAPI key When Coveo for Sitecore is activated, the `\App_Config\Include\Coveo\Coveo.CloudPlatformClient.Custom.config` file is created with these parameters. Depending on your use case, you may or may not want to include the `Coveo.CloudPlatformClient.Custom.config` file. For example, if you're using source control to deploy Coveo for Sitecore with post-activation configuration files to your content management (CM) and content delivery (CD) servers, then you would need to include this file (see [Scaling guide](https://docs.coveo.com/en/2226/)).