How to view file history in Git?

后端 未结 10 1035
借酒劲吻你
借酒劲吻你 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条回答
  •  北荒
    北荒 (楼主)
    2020-12-04 06:11

    you could also use tig for a nice, ncurses-based git repository browser. To view history of a file:

    tig path/to/file
    

提交回复
热议问题