Cleanup tasks¶
Cleanup git repository¶
Before Cherry-picking a patch or starting a new patch:
shell command¶
git reset --hard origin/main
git pull
Cleanup TYPO3 installation¶
After downloading a new patch or making changes to an existing patch, you may need to cleanup your TYPO3 installation.
It depends on the files that have changed, what you need to execute. In any case or if in doubt, you can safely perform all steps.
Flush the cache:
shell command¶
Build/Scripts/runTests.sh -s clean
bin/typo3 cache:flush
Changes in composer.json:
Build/Scripts/runTests.sh -s composerInstall
composer install
Changes in .css / .js files:
Delete browser cache or hard refresh (e.g. CTRL + F5)
Changes in DB schema (ext_tables.sql):
Maintenance: Analyze Database Structure, Apply selected changes.