.gitignore for TYPO3

17 ignore rules for TYPO3, ready to copy into your repository.

Enterprise content management system

The complete .gitignore for TYPO3

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

### TYPO3 ###
/fileadmin/user_upload/
/fileadmin/_temp_/
/fileadmin/_processed_/
/uploads/
/typo3conf/temp_CACHED*
/typo3conf/temp_fieldInfo.php
/typo3conf/deprecation_*.log
/typo3conf/ENABLE_INSTALL_TOOL
/typo3conf/realurl_autoconf.php
/FIRST_INSTALL
/typo3
/typo3_src
/typo3_src-*
/Packages
/.htaccess
/index.php
/typo3temp/

What these TYPO3 rules actually ignore

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

Ignore several upload and file directories.

Pattern What it ignores
/fileadmin/user_upload/ Ignore several upload and file directories.
/fileadmin/_temp_/ Ignore several upload and file directories.
/fileadmin/_processed_/ Ignore several upload and file directories.
/uploads/ Ignore several upload and file directories.

Ignore cache

Pattern What it ignores
/typo3conf/temp_CACHED* Ignore cache
/typo3conf/temp_fieldInfo.php Ignore cache
/typo3conf/deprecation_*.log Ignore cache
/typo3conf/ENABLE_INSTALL_TOOL Ignore cache
/typo3conf/realurl_autoconf.php Ignore cache
/FIRST_INSTALL Ignore cache

If not comment out the following entries.

Pattern What it ignores
/typo3 If not comment out the following entries.
/typo3_src If not comment out the following entries.
/typo3_src-* If not comment out the following entries.
/Packages If not comment out the following entries.
/.htaccess If not comment out the following entries.
/index.php If not comment out the following entries.

Ignore temp directory.

Pattern What it ignores
/typo3temp/ Ignore temp directory.

How to use this .gitignore for TYPO3

  1. Copy the TYPO3 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