I’m 100% up to adding a git workflow support, but it will have some challenge to address first:
-
Conflicts: We cannot “lock” items in realtime, so users could potentially edit the same item at the same time and conflict resolution should be done outside the app. Same with merges, pull requests, etc.
-
File based database. To get the most of git diff, each item should be a single file otherwise, keeping a single JSON would trigger diffs on any changes over any item, and potentially bring trouble with no experienced git users (they might end commiting and pushing before syncing or they may need to learn how to stash, etc)
-
No Realtime support. We should have a “mini git client” to at least notify the user for updates.
PS: Thanks @zaizeku as well for your input!