News for hackers. Stuff that matters.
Re:Why is it so hard to see code from 5 minutes ago? by jlund-molfese on Thursday February 18, 2021 @09:12PM (#26188696)
Personally, when I'm ready to submit a pull request, I usually do a soft reset to the point where I branched off from, then redo my commits and force push to the branch, for exactly that reason. I can't remember exactly which lines I've changed over the past few days unless I see all the diffs together.
Re:Why is it so hard to see code from 5 minutes ago? by BurningFrog on Thursday February 18, 2021 @10:04PM (#26189115)
Interesting idea...

I suppose I can stash my current code, reset to where I started somehow, and then unstash.

I've also toyed with the idea of having two repos on my disk.