Question

I have used clearcase. We have clearvtree command to show the version tree of a particular file. Is there a command in git to show the version tree of a file, visually?

Was it helpful?

Solution

You can call gitk on a singular file:

gitk -- aFile

As mentioned in "Viewing full version tree in git":

You can tell gitk what to display using anything that git rev-list understands,

Note that you can get a similar result, directly in command-line: see "Unable to show a Git tree in terminal".

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top