.gitignore for Concrete5

9 ignore rules for Concrete5, ready to copy into your repository.

Content management system

The complete .gitignore for Concrete5

# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-08-05 01:33:50 UTC
# Technologies: Concrete5

### Concrete5 ###
error_log
.htaccess
config/site.php
files/cache/*
files/tmp/*
/application/files/*
!/application/files/index.html
/updates/*
/sitemap.xml

What these Concrete5 rules actually ignore

Every pattern below, and why it belongs in your .gitignore.

General

Pattern What it ignores
error_log ignore the error log and .htaccess and others
.htaccess General
config/site.php General
files/cache/* General
files/tmp/* General
/application/files/* ignore everything but the index.html
!/application/files/index.html General
/updates/* ignore updates folder
/sitemap.xml ignore sitemap.xml

How to use this .gitignore for Concrete5

  1. Copy the Concrete5 rules above, or download the file directly.
  2. Create a file named .gitignore at the root of your Git repository and paste the rules into it.
  3. If some of those files are already tracked, run git rm -r --cached . then commit again — Git only applies ignore rules to untracked files.
  4. Commit the .gitignore so everyone on the team shares the same rules.

Other CMS .gitignore templates

See every CMS template