Tracing the evolution of lines and functions in git
This is a wildly helpful trick: I want to see all the revisions in which a particular line of code changed. In this case, I’m looking at how a property in WordPress’ package.json file has changed since the start of the year, but I don’t want to see every commit that impacted the entire package.json file. Thankfully, git supports showing the diffs and logs for parts of files over time. It does…












