• rufus
    link
    fedilink
    arrow-up
    4
    ·
    2 年前

    Wait what is the difference between the two?

    • xmunk@sh.itjust.works
      link
      fedilink
      arrow-up
      11
      ·
      2 年前

      Force with lease will send up what your local thinks the most recent commit on the branch was and the host will reject the push if it knows of a more recent commit on that branch. Basically, it saves you from overwriting a commit you didn’t realize existed.