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
-
Arlekin8948yRelax, don't do anything, don't panic!
Git reflog, some caution and googling and that should be possible to salvage. -
Arlekin8948y@liammartens
Well, I don't make any promises, but i did have similar situation where I had tons of uncommited changes and resetted them in some way, and i managed to rescue that.
Beside reflog there was some more obscure and arcane things involved IIRC, but if you google hard enough....
Would help you, but im on my phone in a tram so I can't really do all that much.
Don't make any commits or anything, just to not overwrite or hide anything.
As i said, no promises but i wouldn't give up yet.
Git can do amazing things -
bioDan56298yI was saved by 'undo' in Sublime IDE when the same has happened to me.
i always have all tabs of the code of the ticket open. -
@rkmaier I'm merely using a simple text editor héhé, but it's okay I got everything back now 😄
(simple text editor = VS code)
Related Rants
-
sasikanth28A group of wolves is called a pack. A group of crows is called a murder. A group of developers is called a m...
-
gggggggggg19"Whenever I see a door that says push I pull first to prevent conflicts"
-
rephiscorth38Everyone here ranting about a fucking missing semicolon. I can't remember the last time a missing semicolon wa...
FUCK I stupidly did git reset --hard while having open changes.
Slap me
undefined
stupid
fuck
git
why you do this