Pregunta

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?

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top