Hacker News new | ask | show | jobs
by chicago_wade 3201 days ago
I have also found that it helps to put swear-words in the commit messages when I'm struggeling a lot with something.

Once I get to that point I will stop working on that specific problem until the next day, but swearing about it in the commit message helps me not think about it anymore and also when I come back to it the next day I can see from the commit what I was struggeling with.

Obviously only do this for repositories that you aren't sharing with anyone.

You could also do it in a shared repo if you don't push the commits and you squash them first. Personally I'm not a squash kind of person and I'd also fear that I pushed without remembering to squash even if I really were planning on squashing.

1 comments

This is what the world is built on