616
you are viewing a single comment's thread
view the rest of the comments
[-] rufus@lemmy.sdf.org 4 points 6 months ago

Wait what is the difference between the two?

[-] xmunk@sh.itjust.works 11 points 6 months ago

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.

this post was submitted on 27 Apr 2024
616 points (98.3% liked)

Programmer Humor

19463 readers
150 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS