Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM Project Git Setup

Avatar

Avatar
Applaud 5
Level 1
Heena91
Level 1

Likes

0 likes

Total Posts

60 posts

Correct Reply

0 solutions
Top badges earned
Applaud 5
View profile

Avatar
Applaud 5
Level 1
Heena91
Level 1

Likes

0 likes

Total Posts

60 posts

Correct Reply

0 solutions
Top badges earned
Applaud 5
View profile
Heena91
Level 1

11-05-2021

Hi Team,

 

I have created AEM Maven Project, I want to know how we can set GIT Projecr for AEM.

 

Which folders we need to commit in GIT and how to share commits with other team members

 

Thanks,

Heena

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 100
Employee
markus_bulla_adobe
Employee

Likes

104 likes

Total Posts

86 posts

Correct Reply

44 solutions
Top badges earned
Boost 100
Applaud 25
Affirm 25
Boost 50
Boost 25
View profile

Avatar
Boost 100
Employee
markus_bulla_adobe
Employee

Likes

104 likes

Total Posts

86 posts

Correct Reply

44 solutions
Top badges earned
Boost 100
Applaud 25
Affirm 25
Boost 50
Boost 25
View profile
markus_bulla_adobe
Employee

11-05-2021

Hi @Heena91!

 

Not sure if you already did, but apart from the valuable responses from @asutosh_jena and @Prince_Shivhare you may also want to have a look at the AEM Maven Archetype. It generates all the required project structure for a typical AEM project.

When it comes to SCM (e. g. GIT), you need to add the whole project folder to your GIT repository. In order to collaborate with your team members, you will need some kind of remote repository where all your work comes together (e. g. GitHub, BitBucket or something similar; there probably already is something similar within your organization).

If you are a customer of Adobe Managed Services (AMS) or AEM as a Cloud Service (AEMaCS), you may also refer to Adobes Cloud Manager that comes with a remote GIT repository. However, that GIT repository is commonly setup to be a mirror of another GIT repository at the customer side and may not be feasible as your central GIT remote server.

 

Hope that helps!

Answers (2)

Answers (2)

Avatar

Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

107 likes

Total Posts

393 posts

Correct Reply

63 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile

Avatar
Springboard
Level 7
Prince_Shivhare
Level 7

Likes

107 likes

Total Posts

393 posts

Correct Reply

63 solutions
Top badges earned
Springboard
Establish
Give Back 100
Boost 100
Validate 1
View profile
Prince_Shivhare
Level 7

11-05-2021

Hi @Heena91 ,

 

Can you please confirm if you are using the AEM cloud.

If yes, then you will have to ask the Adobe team to set up on cloud level.

 

once it is done, you can upload the same project in your client repo. and accordingly, sync the repository between cloud and Client repo.

 

If not cloud, then simply follow the step provided by the @asutosh_jena .

 

Thanks,

Prince

Avatar

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

551 likes

Total Posts

663 posts

Correct Reply

191 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

551 likes

Total Posts

663 posts

Correct Reply

191 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile
asutosh_jena
Level 10

11-05-2021

Hi @Heena91 

 

Please follow the below steps:

  1. Create a new project in git.
  2. Clone your project in a separate folder in file system.
  3. Navigate to your repository in your file system i.e. the folder.
  4. copy the maven project that you have created into the folder i.e. all the contents inside the maven projects.
  5. now add all the files into the git stage using the command "git add ."
  6. now use this command -> git commit -m "Initial Commit"
  7. now use "git push"
  8. your changes will be available in github repository and the same URL can be shared with inidividual developers.
  9. All the developers should have access to the repo that you have created to make them work.

Please see the video link here as well:

https://www.youtube.com/watch?v=QUXfPDFd7nM

 

Thanks!