Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

AEM Forms archetype gitignore lists for DocumentServices usages on Git

Avatar

Level 4

I've created project using maven archetype 35 for the AEM-Forms 6.5 On-prem setup.

 

We want to check-in and sync the codebase with the git repository. I assume we do not need to check in everything. 

 

archetype35-aem-forms.PNG

 

Do I need to push the entire project codebase to git repo or there is any .gitignore specific for AEM-Forms project specially for Document Services usages?

 

Please share your practices. thanks.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

It's the same as any maven project, you can create a .gitignore file for the purpose.

You can create the .gitignore file under each module.

eg. I created under ui.apps folder and put the path inside to ignore

ui.apps>.gitignore

src/main/content/jcr_root/apps/wknd/clientlibs/clientlib-site

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

It's the same as any maven project, you can create a .gitignore file for the purpose.

You can create the .gitignore file under each module.

eg. I created under ui.apps folder and put the path inside to ignore

ui.apps>.gitignore

src/main/content/jcr_root/apps/wknd/clientlibs/clientlib-site