Is it possible to upload the git bundle to Google Drive to keep development in sync?

99 views Asked by At

I have some game project git folders. There are many binary files and audio files. The git repo is very large, so I want to use onedrive and google drive to sync my repo instead of GitHub.

My plan :

When I finish the development:

git add, git commit
not use git push . Use git bundle create ../foo.bundle --all,
Then upload. rclone sync ../foo.bundle remote:foo .

When I switch to another computer:

Download bundle first, rclone sync remote:foo ./foo.bundle 
then  git remote add origin ../foo.bundle (if 1st time), 
git pull, etc..  

ps.
I don't plan to upload. git directly because there are so many files in it. Uploading bundles may be more efficient.

I tested my plan.
The disadvantage is that I have to upload FULL bundle file again every time.

Maybe I can try incremental bundle in my plan?

0

There are 0 answers