Khelben Khelben - 1 year ago 70
Git Question

Can I use gitg to see the changes only on one file/directory?

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... :-/

Answer Source

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>

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download