Need help linking a forked Github repository to an existing Prismic repo

I have a current project that is linked to a Prismic repo. I want to use the current repo as a source of truth, so I need to fork the repo and point the new forked repo to the existing Prismic project without losing any of my entered content/data. Is that currently possible?

Similarly, I'd love to be able to continuously fork the parent repo and create new Prismic sites from each forked repo. Is that as simple as changing the forked project's repositoryName in slicemachine.config.json and running npx @slicemachine/init?

Hi Ryan,

Welcome to the community :slight_smile:

Yes, it's really as simple as that. In fact, since all the dependencies are already installed, you'll only need to change the repositoryName, then run npm run slice machine and push the custom/page types to the new Prismic content repository.

Just remember that every time a Prismic project's custom types are updated, the changes need to be pushed to the repository. So, if you pull new changes, etc., you might create conflicts between the code and Prismic.

Thanks