• freamon
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I just did this:
    rm TEST/ * instead of
    rm TEST/*

    and spent a long minute staring at my terminal, having just nuked the contents of my working directory.
    I’m sure there’s lots of benefits to open-sourcing your stuff, but the big one for me right now, was that I was able to get things back again.

    • oddspinnaker@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I get it, I did an accidental rm -rf / something about twenty years ago and I’m still careful.

      I caught it pretty quickly, but I had to spend a lot of time panicking and redownloading system files. I was in college at the time so it felt like changing parts on a speeding car.

      • oddspinnaker@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Seconded.

        I use it for everything I can. Config files, private text documents, MUD maps… everything I can put into source control goes into source control.

        I don’t know what it is, I just love git.