4 ms·
i use git-timemachine for emacs, letting me move backwards or forwards through commits in the current file. i do something similar for uncommitted changes. eve
by nathants 4y ago
i use git-timemachine for emacs, letting me move backwards or forwards through commits in the current file.
i do something similar for uncommitted changes. every time emacs saves a file, it saves a copy to a .backups/ folder with a timestamp appended, then prunes copies to the latest 50. with similar hotkeys to git-timemachine i can travel backwards and forwards through saves of the current file.
after that i backup my home folder with git and tar[1].
losing data definitely sucks. it has to happen once, and then one has to decide: never again.
1. https://github.com/nathants/backup https://github.com/nathants/backup