Once again I find myself setting up a new device, forgetting that I need to manually add #include .stglobalignore into each config, and only a week later realising that my sync’ed folders are now full of gigabytes of junk D:
The specific use-case: Syncing my ~/Projects folder full of various software project source code – I want to sync the code, but not the compiled binaries. This isn’t a per-device setting, this is a per-folder setting – all devices who sync this folder should be ignoring the same files – no device should be placing binaries into the Global State for this folder.
These days, you can configure (per-device) folder defaults that should be applied to new folders. This includes the option to set default ignore patterns that are added by default.
So long as I remember to do the non-intuitive step (configuring folder-level ignores not on the folder level, but on the device level), having a per-device default makes the non-intuitive step less labour-intensive - but that’s not the problem. The problem is that every single time I’m setting up a new device (and I’ve been doing this for 10 years now)… I forget to do the non-intuitive step