Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Git setup of AEM project

Avatar

Level 2

Hi Community,

 

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.

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Please check sample AEM project https://github.com/arunpatidar02/aemaacs-aemlab



Arun Patidar

View solution in original post

3 Replies

Avatar

Community Advisor

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.

Umesh Thakur

Avatar

Correct answer by
Community Advisor

Hi,

Please check sample AEM project https://github.com/arunpatidar02/aemaacs-aemlab



Arun Patidar