简体   繁体   English

为什么 Git 在 Visual Studio Code 上提交这么慢?

[英]Why is Git Commit so Slow on Visual Studio Code?

I know you can source control with GitHub, so that you and others may collaborate and see updated versions.我知道您可以使用 GitHub 进行源代码控制,以便您和其他人可以协作并查看更新版本。

I have cloned the repository in my GitHub.我已经在我的 GitHub 中克隆了存储库。 And I have edited a piece of code.我已经编辑了一段代码。 Then I went to the source control tab and hit submit.然后我转到源代码控制选项卡并点击提交。 This is what it showed for the past few hours:这是它在过去几个小时内显示的内容: 在此处输入图像描述

Thanks to @tkausl.感谢@tkausl。 The solution was simply to type something in the box above.解决方案就是在上面的框中输入一些内容。

Particularly here:特别是这里: 在此处输入图像描述

It works now and I can commit locally as well as push to remote repository.它现在可以工作了,我可以在本地提交以及推送到远程存储库。 Many thanks, love, and appreciation!非常感谢,爱,和赞赏!

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

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