3 ms·
For a lot of my non-critical work that I want to share between computers (e.g. desktop and laptop), I commit to various git repositories in my Dropbox. It's ver
by ttd 10y ago
For a lot of my non-critical work that I want to share between computers (e.g. desktop and laptop), I commit to various git repositories in my Dropbox. It's very convenient, and allows me to share my git repos as seamlessly as documents.
- hellcow 10y agoCareful with that. I used to do something similar, then one day all my git repos were suddenly corrupted due to duplicate and renamed files in the .git directory. I pinged Dropbox support to notify them of a bug in their OSX client, and their response was "Don't store git repos in Dropbox." YMMV
- Jare 10y agoI had that happen with AeroFS instead of Dropbox, simply by using a repo on one machine that was not synced to the contents of the other machine. This can happen either if a machine doesn't finish sync to dropbox after using a repo in it, or the repo is used before the machine has finished syncing from dropbox. A simple "git commit" and close the laptop in a hurry as soon as the command finishes would likely do it.
- ttd 10y agoThanks for the warning -- I did not know that!