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
-
BigBoo23126yI agree with @JoshBent
Time for you to learn git.
Fool me once, strike one.
But fool me twice, strike three. -
C0D4669446yGit is your friend 🤓
Git saves hours of your life 😯
Git checkout - - /path/to/file.ext 😱 -
@JoshBent I do use git, just hadn't pushed since yesterday... I only push once my code is stable
-
@nanoandrew4 I wanted to mention to also commit in short intervals, but thought you'd do, that's another thing the cat wanted you to learn then instead
-
C0D4669446y@nanoandrew4
Branching with WIP/xxx
And commiting small changes often rather than large changes daily
Once the WIP branch is stable merge ack to your feature / develop branch -
cursee165986yI like to live dangerously with no battery laptop 💀 since few years ago (well the battery was not working anymore and I still haven't bought one). And I live in a city where power black out are normal and pretty frequent especially in rainy season.
So I commit after I have created a migration table script. I commit after I created empty model and controller class files and view files for said migrated table(s). I commit after each CRUD process. I commit after debugging my crappy CRUD bugs. I commit after I thought for sure I have fix the real bug. I commit ...
You got the gist of my life. And if I have to leave my laptop, I push all my commits so my codes are there on cloud and I don't have to worry about my machine got struck by lighting or whatnot.
That being said, I would still kick your cat if it came near my laptop. :3
Cat just attacked my keyboard, which was quite funny. Took some pics and entertained it for a bit.
Then I looked at my IDE.
Lost all of today's work because the cat somehow managed to press keys to delete it and then type enough that undo won't recover my code...
That cat is my arch nemesis now... And then it tried to jump back on, which I put a swift end to.
ðŸ˜ðŸ˜ðŸ˜
rant
catattack