如何在Visual Studio Code中查看Git历史记录?

问题描述:

我可以从Visual Studio Code中执行各种Git命令,但是找不到可视化历史记录的方法.

I can execute various Git commands from Visual Studio Code, however I couldn't find a way to visualize the history.

我建议您使用此存储库, https://github.com/DonJayamanne/gitHistoryVSCode

I recommend you this repository, https://github.com/DonJayamanne/gitHistoryVSCode

> Git历史

它完全满足您的需求,并具有以下功能:

It does exactly what you need and has these features:

  • 查看提交的详细信息,例如作者姓名,电子邮件,日期,提交者姓名,电子邮件,日期和评论.
  • 查看文件的先前副本或将其与本地副本进行比较 工作区版本或以前的版本.
  • 在编辑器(Git Blame)中查看对活动行的更改.
  • 配置列表中显示的信息
  • 使用键盘快捷键查看文件或行的历史记录
  • 查看Git日志(以及提交的详细信息,例如作者姓名,电子邮件,评论和文件更改).
  • View the details of a commit, such as author name, email, date, committer name, email, date and comments.
  • View a previous copy of the file or compare it against the local workspace version or a previous version.
  • View the changes to the active line in the editor (Git Blame).
  • Configure the information displayed in the list
  • Use keyboard shortcuts to view history of a file or line
  • View the Git log (along with details of a commit, such as author name, email, comments and file changes).