On Tue, Jan 26, 2021 at 02:45:57AM -0800, bluep...@gmail.com wrote:
> Has anyone implemented a scheme like this? I'm guessing that something like 
> this effect can be achieved using git, but has anyone managed to do this in 
> an automated way, without requiring a manual commit for each save?

I keep several tiddlywikis in git, and have set-up a cronjob that
commits any changes made in the last hour. The commits are automatic.

The cronjob script is just this:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
#!/bin/bash
set -e

cd /home/user/public_html/tiddlys/
git add .
git commit -am 'auto commit'
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

> 
> -- 
> 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 tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/33151d1e-01b7-44d9-bd9d-2c6c8b2a7131n%40googlegroups.com.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/YBA3w8e36zCitqcK%40alamut.home.org.

Reply via email to