Re: Stepping through a single file's history
2010/1/29 Ron Garret <ron@flownet.com>:
> Hello,
>
> Is there an easy way to step through the history of a single file? To be more specific:
> (The use case here is remembering that back in the day there was some useful code in this file that I want to retrieve, but not remembering exactly when it was deleted. So I want to step back through this file's history and do diffs against HEAD.)
How about simply doing:
git log -p filename
and then you can search by pressing "/" and then typing whatever you remember.
John