Adobe Cloud Git - Customer Git | Community
Skip to main content
Level 3
February 23, 2023
Solved

Adobe Cloud Git - Customer Git

  • February 23, 2023
  • 1 reply
  • 801 views

Hi All, 

Is it okay to creat a branch in the Cloud Git and subsequently merge that branch into the Client Git? If this is feasible, what steps are required to achieve this?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by vivekanand-mish

Recommended practise is to create any new branch in client git first and then push it to Cloud git. You can use Jenkin job to sync code between repos- [0]. You can do it reverse as well but that is not a good practise since client git should be first source of truth and active place of development. For code synching between repos, you can explore webhooks/ mirroring features as well -[1]. 

 

[0]- https://aem6solutions.blogspot.com/2022/07/jenkins-git-cvs-syncing-pushing-branch.html

[1]- https://jsramblings.com/automatically-sync-gitlab-mirrored-repository-on-every-push-to-github/ 

1 reply

vivekanand-mishAdobe EmployeeAccepted solution
Adobe Employee
February 24, 2023

Recommended practise is to create any new branch in client git first and then push it to Cloud git. You can use Jenkin job to sync code between repos- [0]. You can do it reverse as well but that is not a good practise since client git should be first source of truth and active place of development. For code synching between repos, you can explore webhooks/ mirroring features as well -[1]. 

 

[0]- https://aem6solutions.blogspot.com/2022/07/jenkins-git-cvs-syncing-pushing-branch.html

[1]- https://jsramblings.com/automatically-sync-gitlab-mirrored-repository-on-every-push-to-github/