5 ms·
What if you check out a few large git repos in a directory synced with Google Drive?
by TazeTSchnitzel 4y ago
What if you check out a few large git repos in a directory synced with Google Drive?
- danpalmer 4y agoI thought about this, but I accidentally put the Webkit repo (~1m files) into Dropbox once and it didn't go well. Git needs a consistent view of the filesystem across many files to work, and that's not really possible with that many files stored in a sync system that works per-file like Drive does. I put Git in the category of specialist software that shouldn't be operated in Drive. By all means tar and backup, that should be effective, but there's no need to store all the individual files.
- TazeTSchnitzel 4y agoStoring a git working tree in a cloud drive does seem like a bad idea, but the actual .git directory itself might be okay? I think most of the files in there are immutable or infrequently changed.
- yencabulator 4y agoConsider an incoming sync change for .git/refs/heads/* before the related .git/objects/*