- Create a mirror repo for sync
git clone --mirror[local_repo_name]
git remote add --mirror=fetch upstream
- Sync
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.
3 comments:
thanks for the great information. it has help me alot.
promo code
Your blog is good. It's great. , Thank you so much for sharing with us.
Buy Custom Logo
This blog was very helpful.... Click here
Post a Comment