This is driving me crazy, as it's very easy on gitk (just gitk the/file
) but I am not able to do it on gitg which I really like to see the 开发者_如何学运维history.
It's not a well documented tool.
Short answer, no it can't do that (in v0.0.6).
gitg claims:
gitg does not aim to be an advanced tool that allows access to every feature of Git through a graphical interface. However, it will try to incorporate common actions that might require multiple actions on the command line (like staging, unstaging, reverting, and committing)
Your best bet is the command line git log <file>
or gitk <file>
精彩评论