News for hackers. Stuff that matters.
Re:Absolute truths I unlearned as junior developer by polyterative on Friday June 07, 2019 @02:34PM (#20127410)
> git reset --hard HEAD

story of my life

Re:Absolute truths I unlearned as junior developer by tehlike on Friday June 07, 2019 @06:31PM (#20129234)
> git stash # i might need this one day And i never need it.
Re:Absolute truths I unlearned as junior developer by fouc on Friday June 07, 2019 @09:39PM (#20130077)
I've started saving my stashes to branches instead.. adding a _ on the front of the branch name to remind me to delete the branch at some point
Re:Absolute truths I unlearned as junior developer by larkeith on Saturday June 08, 2019 @03:43AM (#20131159)
Out of curiosity, do you ever actually delete the branches? I would absolutely just end up with a number of _-prefixed branches on all my projects.
Re:Absolute truths I unlearned as junior developer by C4stor on Saturday June 08, 2019 @04:10AM (#20131244)
I don't allow myself to have more than 1 active stash at any given point on a project. You quickly learn to delete with no regret some code you wrote !
Re:Absolute truths I unlearned as junior developer by anoncake on Saturday June 08, 2019 @06:49AM (#20131740)
Better than the other way round.