Story time…

  • magic_lobster_party
    link
    fedilink
    410 months ago

    When I learned about the reflog. I became less afraid of my changes when I knew I could easily recover from my errors. This allowed me to experiment more with git and become more proficient in it.

    Another aha moment was learning that an easy way to squash commits is just to do a git reset followed by git commit -am “whatever”

    • TechNom (nobody)
      link
      fedilink
      English
      210 months ago

      Another aha moment was learning that an easy way to squash commits is just to do a git reset followed by git commit -am “whatever”

      You can do that in a single step instead with git commit -a --amend.