Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: