Вопрос

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?

Это было полезно?

Решение

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".

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top