Hacker News new | ask | show | jobs
by alderz 3451 days ago
You might want to take a look into partial persistence data structures https://en.m.wikipedia.org/wiki/Persistent_data_structure

The idea is that every change creates a new revision and then you can update the other devices or roll-back previous versions.