Vermyndax / Don't Put Git Repos in iCloud

Created Mon, 14 Feb 2022 13:49:54 -0600 Modified Tue, 31 Dec 2024 18:25:52 +0000

In one of those “duh” moments for today… I’ve been wrestling with an oddity in my git repositories with vscode. Sometimes when I open a git repo, it will just suddenly duplicate all of the files in the repo. It seemed to happen most of the time when I was opening a large git repository with vscode. Turns out that iCloud is to blame - something about vscode and iCloud Drive synchronization doesn’t get along. Solution: move your development directory out of ~/Documents or iCloud Drive. All will be well. They didn’t need to be there anyway. Duh.