← Back to context

Comment by JohnMakin

2 years ago

Your laptop breaks in a way that your disk cannot be recovered. Now what? How often are you backing up your disk? Probably much easier to type "git commit" and "git push"

It's much easier to use an automated backup system/service than to manually run commands.

  • Thanks. That’s what I was too (flabbergasted?) to express myself in such a succinct way.

Am I really gonna get interrogated on HN for talking about automatic and redundant backup give me a break.

  • I wouldn't call the parent comment you're responding to an "interrogation" and I'm sorry you perceived it that way. You make a pretty extraordinary claim that local disk is better than a remote repository for storing/updating code for personal work - with no evidence to support this claim - so a followup question seems reasonable.

    as far as "git is distributed" I don't know if that's the case if you keep it purely local, but hey, you seem to have it all figured out so good job.

    • I thought a person of your background (who no doubt has it all figured out) would surmise that I was talking about backing up to an external disk and not to another disk on the same laptop. And would grant another person some good faith and be able to generalize without spelling it all out for them: if the point is to back things up then maybe I can infer that other means of backup are also in the cards, like sneakernet or your own server or multiple locations. Huh

      You can also back up to a remote. That is not GitHub. You know because the topic is GitHub and how promiscuous they are. Which is why I say: if you don’t need your code to be “social” you don’t need to put it on GitHub.

      But even a remote repository is overkill. An automated backup plan with git bundle is automatic, after all. Set it and forget. And backups are supposed to be automated, right? I ask because you have the relevant background here.

      4 replies →