I've created project using maven archetype.
Now I want to sync the codebase with git. Do I need to push the entire project codebase to git repo or there is any .gitignore specific for AEM project ?
Please help to answer.
Solved! Go to Solution.
I think you should be removing the content module from the main project and then commit entire project to git. Since content module will have the authored content so every time you will deploy the change, everything authored on the pages will be overwritten and by the time its size will also grow so again it will take lots of time to deploy your change. Same thing is applicable also to assets.
So it will be better to keep only code base along with some configs and templates components as part of your git repo.
Hope this will help.