【发布时间】:2017-01-17 02:44:40
【问题描述】:
我们使用 GitHub 作为源代码存储库,使用 Visual Studio 进行开发 (C#)。我从 Visual Studio 专业版(试用版)降级到社区版,不知何故丢失了我在每个方法签名上方的 GIT 方法历史记录。我已经重新安装了专业版,但仍然看不到它。这个方法历史非常有用,看起来像:
Last Update 8/1/2015, 3 authors.
Void DoSomething() {}
点击状态栏会显示“与以前的版本比较”、历史记录等内容。
我不确定它是 Visual Studio Professional 的一项功能(可疑)还是我可能安装的 git 扩展之一(请参阅工具->扩展和更新)或其他东西。我是使用 GIT/GitHub 的新手,尤其是使用 Visual Studio,希望能得到一些帮助。我的具体问题
1. How do I get history/last author/etc for each method (not file)? Does it work under Professional and Community
2. What are some good Git Tools to install in Visual Studio to see changes/history, etc.? I'm using the command line to commit/push etc., but am not opposed to doing this from Visual Studio if it makes sense.
谢谢,
戴夫
【问题讨论】:
标签: c# git visual-studio github