Hi everyone,
I just created a GitHub repo to show how I work on a TiddlyWiki notebook with some friends : https://github.com/dionisos2/tiddlygit
I used git submodule to get the plugin I am using, I don’t know if it is a valid way to do it, but it meet my need.
I used a git merge driver to reduce the number of conflicts (in particular, I just ignore some fields like “modified”), and to directly modify tiddlers when there is an actual conflict so the conflict can be resolved inside the notebook itself (the script doing it is tiddly-merge.py).
I also added a button (the one with a GitHub icon), to run the script doing the commit/merge/push (synchronize.sh) inside the notebook.
I don’t know why, but I had to modify the $:/plugins/OokTech/Bob/NodeScriptHandlers.js tiddler to make it works.
(You can see the added/modified tiddlers in the tiddler folder in root)
I assume it would be better to create a plugin to package it, but given I assume I did a lot of stuffs incorrectly, it is probably not worth it. Anyway I still share it because maybe it will be useful to someone trying to do the same thing.