Tekkaman

导航

 

git查看某个文件修改历史

1、使用git命令

  git whatchanged charge.lua 显示某个文件的每个版本提交信息:提交日期,提交人员,版本号,提交备注(没有修改细节)

  git show 7aee80cd2afe3202143f379ec671917bc86f9771 显示某个版本的修改详情

 2、visual studio code可以加载git history插件。

  Press F1 and select/type "Git: View History (git log)", "Git: View File History" or "Git: View Line History".

 

参考:http://blog.csdn.net/zxncvb/article/details/39179323

posted on 2017-05-14 20:22  Tekkaman  阅读(1442)  评论(0编辑  收藏  举报