我在Visual Studio 2019中使用GitHub,希望将项目发布到GitHub。您可以看到图像1。
1:单击“发布到GitHub”按钮后,我发现进度条保持运行状态。您可以看到图片2,为什么?
2:如何知道项目是否已成功发布到GitHub?
3:有时,我需要单击“同步”按钮才能将项目发布到GitHub,为什么?
4:图像2中的同步功能和推送功能有什么区别?
5:即使我关闭Visual Studio,“将项目发布到Github”是否也会在后台运行?即使我在Github上发布了一个大项目,我也会很惊讶地看到“成功创建存储库”的显示速度很快。您可以看到图3。
图片1
图片2
图片3
新增内容:
到VonC。谢谢!
但是显示的信息“ Push在后台运行”,看来Push操作在后台运行,可以看到图4。
如“通过推共享代码”所示,同步将推和拉。
problem/187028
提到:
The reason the UI is blocked when you do a "Sync" (which is a
push
and apull
) is that files may be changed on disk. Allowing you to change files while a pull is in progress may lead to lost changes and could lead to unexpected results.
So if you do a Sync, and then are able to work/modify any file, you are sure that everything was pushed/pulled.
The progress bar issue is supposed to be fixed in recent version of Visual Studio, but problem/159277 included the workaround:
open the identity picker and select "Add an account".
You will then be prompted to choose an identity, and you can choose the one that is currently selected.
The pane should then refresh to show the VSTS account and repo fields.
推操作似乎在后台运行–
是:这意味着您可以在推送处理期间继续使用Visual Studio。
但是,如果您关闭Visual Studio,则该git push
命令将被中断,并且不会完成。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句