4 ms·
You’re right, I probably didn’t (and don’t) understand. I thought that the problem you’re trying to solve is that you wanted to find a particular string that ch
by temporallobe 7y ago
You’re right, I probably didn’t (and don’t) understand. I thought that the problem you’re trying to solve is that you wanted to find a particular string that changed over time (past commits). So let’s say I wanted to look for isPizzaDelivered; Could I not do a git log |grep “isPizzaDelivered”? to find all occurrences of that string among all of the previous commits? I read your blog post thoroughly and maybe I’m just not getting it. Perhaps I need to try out the commands myself to see what the output would be so I can get a full picture of what you’re explaining.
- lukabratos 7y agoYour approach with git log |grep isPizzaDelivered would work if the string you wanted to find would be in the commit title or description. git pickaxe is super handy because it will search for the selected string in all the commit changes instead. Give it a go in one of your projects, it's super useful. I should include some examples in the blog post to convey my message a little bit clearer.