Possible Duplicate:
View the change history of a file using Git versioning
Sometimes I want to step through the history of a particular file. In the past I used P4V and this was very quick and intuitive.
Switching to git this is now a grueling task.
I've searched SO, and I've tried a few of the commonly suggested guis: github, gitk, gitg, git-gui.
These all remove the need to manually run commands, but the workflow is the same for this. View history of file; view commit; search through diff of lots of irrelevant files. It's slow and repetitive.
All the data is in the repo so I see no reason this simple common use case could not be more streamlined.
Can anyone recommend a tool that does this - or a more efficient way to utilize the command line to do what I want?
Thanks for any suggestions.
You can use git log to display the diffs while searching:
git log -p -- path/to/file