<story><title>iCloud Drive silently deletes your content</title><url>https://www.dominikmayer.com/2023/09/icloud-drive-silently-deletes-your-content/</url></story><parent_chain><item><author>WoodenChair</author><text>The author suggests using git. But be warned git doesn’t work well with iCloud Drive. I used to have hundreds of git repositories in my iCloud Drive. Periodically, doing a big commit would trigger my whole multi-hundred gigabyte iCloud Drive to resync with Apple’s servers. This would take a day to complete. I went through Apple support up to quite a high level to try to resolve it and they never did. Now I keep my git repositories outside of iCloud Drive. The trigger seems to be if you ever change hundreds of files at the same time in quick succession before the last set of big changes finished syncing.</text></item></parent_chain><comment><author>laurels-marts</author><text>I thought it was common knowledge that you shouldn&amp;#x27;t mix git (and similar VCS) with cloud drives and their cloud based version control (iCloud, OneDrive, Google Drive etc.). The two don&amp;#x27;t mix well and there&amp;#x27;s room for all sorts of weird and unexpected behaviours especially if you have multiple devices synced to the same cloud drive.</text></comment>
<story><title>iCloud Drive silently deletes your content</title><url>https://www.dominikmayer.com/2023/09/icloud-drive-silently-deletes-your-content/</url></story><parent_chain><item><author>WoodenChair</author><text>The author suggests using git. But be warned git doesn’t work well with iCloud Drive. I used to have hundreds of git repositories in my iCloud Drive. Periodically, doing a big commit would trigger my whole multi-hundred gigabyte iCloud Drive to resync with Apple’s servers. This would take a day to complete. I went through Apple support up to quite a high level to try to resolve it and they never did. Now I keep my git repositories outside of iCloud Drive. The trigger seems to be if you ever change hundreds of files at the same time in quick succession before the last set of big changes finished syncing.</text></item></parent_chain><comment><author>dominikmayer</author><text>Hi, original author here. Thanks for sharing.&lt;p&gt;My problem is, that I need to use iCloud Drive for some important files because the app I need to use doesn&amp;#x27;t support another way to sync.&lt;p&gt;Without git I wouldn&amp;#x27;t have figured out which files have changed. (And even with git, I can&amp;#x27;t be sure that I caught everything. I guess git content can also be altered by iCloud sync conflicts…)</text></comment>