• xmunk@sh.itjust.works
    link
    fedilink
    arrow-up
    10
    ·
    1 year ago

    Pshaw, real programmers write out the contents of .git by hand.

    (Also, it was a joke, the last two commands I listed are ones you’ll ideally never need in your life)

    • overcast5348@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      I was scared of reflog too. Had to use it for the first time recently after I accidentally’d a branch that I hadn’t pushed to remote yet. I was so glad that I could recover it all in <5 commands.