Home > Enterprise >  How to keep a private copy of a public repository up to date?
How to keep a private copy of a public repository up to date?

Time:09-23

Context:
I have a private copy of twilio react project and have developed a lot of things over that considering it to be my master branch (directly pushing commits to it). While developing it, I have noticed twilio developers pushed a lot of fixes for several components. What would be the best way to merge those changes into my current private copy of their repository?

Problem:
How to maintain a copy of a public project privately and still developing over it?

CodePudding user response:

If the copy was done by cloning the public repository, and pushing it to a private repository, that would enable you to, as commented, fetch from the public repository, and merge the public branch to your private one.

That approach would not be possible if you have created a new private repository from scratch and just copied the sources from the public repository.

  • Related