- Create a mirror repo for sync
git clone --mirror
git remote add --mirror=fetch upstream
git fetch --all -v --progress
git push --mirror -v --progress origin
- Auto Sync
You can add it to "cron" if you want it to be synced automatically. Not good at it. Maybe some would like to help me work out the syntax for it.
Job done. Hope simple python script would come soon.