简体   繁体   English

Visual Studio 2015 Git“有关详细信息,请参阅输出窗口”但没有详细信息

[英]Visual Studio 2015 Git "See the Output window for details" but no details there

I'm doing a test to try to pull changes from GitHub to my local Git repo using Visual Studio Team Explorer and getting the "Cannot pull because there are uncommitted changes. Commit or undo your changes before pulling again. See the Output window for details."我正在做一个测试,尝试使用 Visual Studio 团队资源管理器将更改从 GitHub 拉到我的本地 Git 存储库,并获得“无法拉,因为有未提交的更改。在再次拉之前提交或撤消更改。有关详细信息,请参阅输出窗口.” message.信息。

For others who have received this message, are you seeing any details in the Output window?对于收到此消息的其他人,您是否在“输出”窗口中看到任何详细信息?

I have my Output window set to show output from Source Control - Git, but the last message I see there is from when it opened my repository.我的输出窗口设置为显示源代码管理 - Git 的输出,但我看到的最后一条消息来自它打开我的存储库时。 I'm not seeing any errors or detailed messages from the failed pull.我没有看到来自失败拉取的任何错误或详细消息。 I know I can use other methods to find out the details, like attempt to run the git pull in a git bash shell.我知道我可以使用其他方法来找出详细信息,例如尝试在 git bash shell 中运行 git pull。 But I wonder if they're supposed to appear in Visual Studio.但我想知道它们是否应该出现在 Visual Studio 中。 Thanks!谢谢!

I had the same issue in VS 2019. and I found that you need to change in the output tab the "Show output from" dropdown to "Source control Git" to be able to see the details you are looking for.我在 VS 2019 中遇到了同样的问题。我发现您需要在输出选项卡中将“显示输出”下拉列表更改为“源代码控制 Git”,以便能够查看您正在寻找的详细信息。

See image here for reference:请参阅此处的图片以供参考:

在此处输入图片说明

To answer your question:回答你的问题:

I wonder if they're supposed to appear in Visual Studio.我想知道它们是否应该出现在 Visual Studio 中。

  • Supposed?应该? Yes.是的。
  • Will they?他们会吗? Well, you see it yourself, they won't.好吧,你自己看,他们不会。
  • Why?为什么? Because VS has still very poor git integration.因为VS的git集成还是很差的。 Things like that will happen, brace yourself.这样的事情会发生,请做好准备。 The situation improves with every release, so maybe VS15 will be better.每次发布时情况都会有所改善,所以也许 VS15 会更好。

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

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