View the change history of a file using Git versioning

后端 未结 24 2036
臣服心动
臣服心动 2020-11-22 16:40

How can I view the change history of an individual file in Git, complete details with what has changed?

I have got as far as:

git log -- [filename]
         


        
24条回答
  •  傲寒
    傲寒 (楼主)
    2020-11-22 17:16

    You can use vscode with GitLens, it's a very powerful tool. After installed GitLens, go to GitLens tab, select FILE HISTORY and you can browse it.

提交回复
热议问题