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
-
You can probably control z back enough if you're using a nice editor. Next time, put it on a branch.
-
abcdev30988y@yogesh me too. But as i said, i deleted the function codes entirely. Not the file but code lines. So backup could not have helped me either. 😁
-
abcdev30988y@starless i have already done the build and pushed it to production on Friday. I am pretty sure ctrl+z won't help me on monday morning.
-
@abcdev pushing code to production clears the edit history in your development environment? That's odd.
On thursday i spent 5 hours on a function. It was about to include in production build which was due on friday.
On friday PM informed me that we are dropping this function from application. It will not be included in any build now. So just prepare the build without that function.
So, instead of commenting it out or make it hidden i deleted the source code for the function entirely.
Today morning it has been decided that we are including that function in our next build.
I am fucked. I am very bad Developer i guess.. i am laughing on my mistake. It will not happen again though.
undefined