this post was submitted on 23 Jul 2023
181 points (96.9% liked)

Programmer Humor

32410 readers
1 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 

Maybe those branch protection rules are worth the hassle after all....

top 2 comments
sorted by: hot top controversial new old
[โ€“] pterencephalon@lemmy.world 6 points 2 years ago

--force-with-lease

See, It's all safe now!

(/s, but I did royally screw up my own feature branch with a janked rebase off the main branch before though.)

[โ€“] OrkneyKomodo@lemmy.sdf.org 1 points 2 years ago

Wouldn't it need to be git rebase -i --root for the first part?