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.
Asked
Active
Viewed 20 times
0
Biffen
- 5,791
- 5
- 29
- 34
Daniele Scalco
- 43
- 9
1 Answers
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.
NormalGaussian
- 31
- 1