Search code examples
google-cloud-source-reposgoogle-cloud-repository

google cloud source repositories are not in sync


I'm new to google cloud source repository and confused to why code pushed in one of the repository is not syncing up with another repository. is it because all of the cloud repos need to be connected to same git-lab/git-hub repository? or am i missing something else with respect to sync of code across repository's.

I have 2 repository's namely DEV and QA. pushed my code in DEV and not able to see any of the pushed code in QA repository. as of now both are not connected to any git-lab/git-hub repository, as i can see it in the setting of the cloud repository.


Solution

  • Posting @ezkl's comment as a Community wiki for better visibility.

    If you are looking for the code you pushed to one repository to also be available in another repository, that isn't how git repositories work.

    To achieve this goal you would need an automation.

    There are some out of the box tools that might be useful: