this post was submitted on 23 Jul 2023
191 points (96.6% liked)

Programmer Humor

32448 readers
988 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
[โ€“] [email protected] 5 points 1 year 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.)

[โ€“] [email protected] 1 points 1 year ago

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