How to view file history in Git?

后端 未结 10 1016
借酒劲吻你
借酒劲吻你 2020-12-04 05:46

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

10条回答
  •  Happy的楠姐
    2020-12-04 06:16

    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"
    

提交回复
热议问题