Is it possible to link a site to many repositories?

I am working on a designing a website using Netlify after first creating the website and linking it to a GitHub repository I opened the repository and tried to add new script files to update how my website should operate however when I deploy the repository back to Netlify I lose all the files I added or all the modifications made on pre-existing scripts. Is there a way to solve this and not be forced to do the same work again and again?

Hello :wave:t6: @Yves611-haswany and welcome to the Netlify community!

No you cannot link one site to multiple repos. As I understand it you’re saying when you make changes to the repository your previous work is deleted? Can you clarify your issue? Are you using continuous deployment? If so I’d encourage you to reference this blog post.

I created a website on netlify then deployed it and linked it to a repository on GitHub then added files to the repository and edited some pre-existing files but when redeploy the repo to netlify I lose all the modifications. I need a way to keep all the modifications I make and not lose them.

So, when you make changes to your repo it’s not reflected on Netlify once you re-deploy? Are you using continuous deployment if you are then it will automatically deploy your changes?

Please share the site name and a link to your repository?

Site name codooo. Repo link:https://github.com/yves-haswany/codo

@Yves611-haswany Your repository is private, you’ll need to make it public.