I am just starting the development of a native Flow app and am wondering if there is a best practice to put it under version control e.g. Git.
This is my approach:
I installed Flow via Composer (without “–keep-vcs”):
composer create-project typo3/flow-base-distribution myproject
After that I got the composer files and a .gitignore file with the following content (so that the rest of the project is totally unknown by Git at all):
I changed parts of it to the following:
so that I can put all the rest ( /Package/Application/ ) under my own version control.
Database configuration etc. that must not be put under version control will then be put into global Configuration/ and every package-specific configuration will then be put into /Packages/Application/Acme.Project/Configuration/ and will go into Git.
Would you do it in the same way?
Do you have suggestions/recommendations to improve this approach?