With Subversion I could use TortoiseSVN to view the history/log of a file.
How can I do this with Git?
Just looking for history record for a particular file
I like to use gitk name_of_file
This shows a nice list of the changes that happened to a file at each commit, instead of showing the changes to all the files. Makes it easier to track down something that happened.
git log --all -- path/to/file
should work
git-diff or git-log ?
TortoiseGit also provides a command line tool to do see the history of a file. Using PowerShell:
C:\Program` Files\TortoiseGit\bin\TortoiseGitProc.exe /command:log /path:"c:\path\to\your\file.txt"