Expand my Community achievements bar.

Sync External Git Repository to Cloud Manager Repository | AEM Community Blog Seeding

Avatar

Administrator

BlogImage.jpg

Sync External Git Repository to Cloud Manager Repository by Stories by Albin Issac on Medium

Abstract

In the earlier tutorial, we have discussed the basic details on Cloud Manager and how to use CM API/Events to trigger the notification to Social Channel(Teams).

As discussed earlier, the Cloud Manager enables own Git repository to manage the deployment to different environments, for simple projects the Cloud Manager enabled git repository should be enough to manage the day to day development activities of the project. But for complex projects, the feature-based easy to manage repository(CM don’t provide any UI to manage the branches) should be required to manage the day to day development activities. In that case, the customer-specific repository can be used to manage the day-to-day development activities and the code can be merged to Cloud Manager Git repository branches once ready for deployment.

As a manual process, the branches between the local repository and Cloud Manager repository can be synced by the developer by using a set of Git commands

Sync Local Repository Dev-Branch to CM Repository Dev-Branch, first commit the changes to the local Dev branch then push the changes to CM repository(Dev branch). Execute the below command from the local repository folder.

git remote add sync https://username:password@git.cloudmanager.adobe.com/xxxx/xxxx/
git checkout dev
git pull
git push sync dev

Read Full Blog

Sync External Git Repository to Cloud Manager Repository

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply

Avatar

Community Advisor

To the users who are in search of this topic, the following documentation could also help you.

https://experienceleague.adobe.com/docs/experience-manager-cloud-manager/using/managing-code/setup-c... 

Thank you.