0

How can I see in the Git-Bash console the history with all the changes happened to a specific file in Git? With git show [filename] I can see only the last change. Is it possible? I think yes cause in Eclipse you can see the history of a file.

Biffen
  • 6,249
  • 6
  • 28
  • 36
Daniele Scalco
  • 131
  • 2
  • 15

1 Answers1

1

Use git log:

git log -p -- [filename]

Without -p you will get a list of commits, with -p you will also see the changes.