I'll be honest, I went with KISS. A cron job to run git commit (including the timestamp). Only commits when files are saved. But if you want to try to trigger git from nodejs, I'd say look at the $:/temp/ prefix for the commit message. Anything starting with $:/temp/ doesn't get saved/synced.
On Tuesday, May 23, 2017 at 4:54:31 PM UTC-4, Conner Phillips wrote: > > This should probably get it's own thread, but since I already mentioned > git in the title I will just run with it. I'm wondering about the best way > to transfer the commit message to the node server? Possible solutions: > > Using a edit-text to write to a Shadow tiddler with saving disabled > Field which then gets cleared by the git process > Some other mystery way to pass a string to the node server??? > > Any thoughts from the more experienced useres out there? > > And just as a note, I've played around with simple-git and it seems to > work really well. I should expect to have a protoype relatively quickly :) > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/35de45f0-ddab-4b64-8696-c8788d23cf54%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

