I want to push changes automatically into my all local cloned reposoitories whenever I update my code in codecommit main repo.

0

I want to push all latest changes in my codecommit master branch to automatically update my all locally cloned repositories. I used codecommit lambda trigger but its giving errors and I was unable to do that. if this process is possible through lambda then provide Lambda code and if any other method can work then provide me that method.

1 Risposta
0

Git uses a "pull" model for updating local repositories. I'm not aware of any way to push changes from a central repository out to other repositories that use it as an "origin", and doing so could potentially overwrite local changes devs have made.

Can you explain more about the reason you want automatic updates of local repositories? Perhaps understanding your larger goal will reveal some other options for achieving it.

profile pictureAWS
Kris
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande