Is there any way to sync two repos

Hi, all.

I have a repo A and repo B, so when I push code to repo A using vscode, all the files should be sync to repo B.

Is there anyway to do that.

Hoping with a positive response

regards, shiva

Because you’re asking here I assume your repo A is on Github. In that case you could write an Actions workflow that does the synchronization. One possible approach is described in this blog post about open sourcing of docs.github.com, see the “Syncing public and private repos” section: