this post was submitted on 23 Jul 2023
202 points (100.0% liked)

Programmer Humor

32031 readers
537 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

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

top 2 comments
sorted by: hot top controversial new old

--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.)

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