Hacker News new | ask | show | jobs
by nlco 5630 days ago
How is it unsafe? (asking because I don't know, not to contradict)
1 comments

One accidental command and every entry is lost, not just one entry or the most recent. Adding a "git commit journal.txt; git push offsite master" or something similar to your journal script will alleviate that risk.

Edit: you also don't have file timestamps to show when an entry was actually written, in case that matters to you.