5 ms·
Careful 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 director
by hellcow 10y ago
Careful 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!