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:email@example.com/xxxx/xxxx/
git checkout dev
git push sync dev