Hacker News new | ask | show | jobs
by MilnerRoute 1433 days ago
A while back I started storing my important files on Dropbox. That at least lets you revert to earlier versions - though I'm not sure how granular it is. I'm sure you can do the same thing with many other cloud-based sites.

As an added check, at key moments in a project I'll just add (or increment) the number at the end of my filename, so I'm now working in a new file and can "revert" back to the earlier version just by changing files.

1 comments

Yep. I like that approach for simple personal projects (the only kind I do). Sometimes I just append a date -- myHotNewIdea_9jul2022.txt

Same idea, though.

> _9jul2022

Don't use that format — it doesn't sort correctly. You are better off with _20220709 or _2022-07-09.

and put the date in front (not at the end)
Geez! What a couple of bossy little tyrants! Don't do this! Don't do that! Ouch!

The question was aimed at Non Programming Professionals. I thought my answer was thoroughly non-professional, and therefore just about perfect. /s

But seriously, you both make good points.