简体   繁体   English

Visual Studio 2019 中的 Git 日志历史记录

[英]Git log history in Visual Studio 2019

I am not quite used with the Visual Studio and GIT.我不太习惯使用 Visual Studio 和 GIT。 Is there an extension I can use for nicely previewing the Git repo history (seeing the merges and so on).是否有一个扩展可以用来很好地预览 Git 回购历史(查看合并等)。 The normal "View History" does not show the merges and branches in a tree format.正常的“查看历史”不会以树格式显示合并和分支。 Some like this: git history I know there is Git History for Visual Studio Code.有些像这样: git 历史我知道 Visual Studio Code 有 Git 历史。 Is there any good option for Visual Studio 2019? Visual Studio 2019 有什么好的选择吗? Thanks!谢谢!

Here is what you should see when displaying the history in Visual Studio:以下是在 Visual Studio 中显示历史记录时应该看到的内容: 在此处输入图像描述

If only one branch is shown without the merge, that's because one of the button in the toolbar to show all the branches have not been clicked.如果只显示一个分支而没有合并,那是因为工具栏中显示所有分支的按钮之一没有被点击。

The history could be displayed from the status bar of VisualStudio with the "View History" menu item:历史可以通过“查看历史”菜单项从 VisualStudio 的状态栏中显示: 状态栏的分支菜单

And you could also use an external tool like GitExtensions or Fork to display the git history.您还可以使用GitExtensionsFork等外部工具来显示 git 历史记录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM