Keep latest updates after mirror

Hi all,

I’m trying to migrate one of my repo to github and following the instructions below:

And everything works great! However…after I did the push mirror and remove the local repo like step 4, there’s some updates from my old repo (original repo), is there a way to sync it over to the new repo on github again?


Hi @wecanwang,

You can either set up a post-receive hook on the remote repository that you duplicated to push new changes or update your downstream repository manually to get things in sync.


Thanks for answering the question @that-pat

I’ll try to setup a upstream to see if I can update it manually!