Including git folder in your build

Last modified: March 13th, 2023

Working with a specific static site generator?
Customize CloudCannon's documentation to suit your SSG.

Great! We'll show you documentation relevant to .
You can change this any time using the dropdown in the navigation bar.

By default, CloudCannon will not include your .git directory in the build process.

If your site relies on information from your .git folder, you can use the Include Git Folder option.

  1. Navigate to Site Settings / Build.
  2. Open the Advanced Options menu.
  3. Check Include Git Folder option.
  4. Click the Update Configuration button at the bottom of the page.
Open in a new tab