Hacker News new | ask | show | jobs
by bandrami 163 days ago
A few years ago I noticed a junior dev was creating a lot of one-file, two-branch git repositories and I asked him why. He said he wanted to run a diff on two versions of a file that wasn't in version control, so he would make a branch with each version and run git diff.

I think about that a lot lately.