Comment

Comment by Diederich

There's really not much involved.

For the encrypted git repo, I use this:

https://github.com/AGWA/git-crypt

The cron points to a shell script:

#!/bin/sh

cd ~/notes

git add -A .

git commit -am wip

git pull

git push

So with that, I have the same directory, ~/notes/ syncd on all of my computers automatically, as long as I don't do conflicting edits within the space of a minute, which has never happened.

parent Diederich 9 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton