Hacker News new | ask | show | jobs
by m463 853 days ago
I find that files under revision control have one awesome property:

they can be ruthlessly minimal.

The intermediate note-to-self stuff, the reference material, the stuff that was cancelled, all can be deleted.

But you have the peace of mind that you can get it back.

This might be especially important if it is a text file you run your life with.

My neighbor needs the name of the plumber we used. What was the amount of the bill? When did I order xyz last? What was the size of the wiper blades of my car?

1 comments

> My neighbor needs the name of the plumber we used. What was the amount of the bill? When did I order xyz last? What was the size of the wiper blades of my car?

But how do you look that information up in git?

The git "pickaxe" [0] is the canonical way of searching through changes. Probably `git log -Splumber` with narrowing down by date.

[0]: https://git-scm.com/book/en/v2/Git-Tools-Searching

You can just search over all the diffs, that’s how I sometimes do it in Fork.app