Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
C0D4681465ygit push master -force
Who knew that would be a potentially bad thing to do?
There are times you "can" use force, but you should understand wtf you're about to do and the repercussions of you're actions are. -
Lost commits can still be retrieved from the reflog or even without it if you have a hash in some file or even the buffer of an open terminal. Eventually it'll sweep out all the unreferenced objects though so I'd hurry.
-
@Lor-inc you know you're amazing sometimes?
I thought it was gone for good.
Guess I'll go digging.
Related Rants
It's been so long since I used git I accidentally nuked my commit and only copy of client code during a revert.
How the fuck does anyone mess up that badly? 😅
random
nukeitfromorbit
git
woops