• jjjalljs@ttrpg.network
    link
    fedilink
    arrow-up
    3
    ·
    3 months ago

    There’s two options in the green button on a pr. One is squash and merge, the other is squash and rebase.

    Squashing makes one commit out of many. You should IMO always do this when putting your work on a shared branch

    Rebase takes your commit(s) and sticks them on the end.

    Merge does something else I don’t understand as well, and makes a merge commit.

    Also there was an earthquake in NYC when I was writing this. We may have angered the gods.

    • cobra89@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Lmao I’m in the NYC area and my whole house shook. I’m right there with you. Thanks for the explanation!