简体   繁体   English

我如何知道其他用户的git pull是否完成?

[英]How do I know if another user's git pull is complete?

Say a user initiated a git pull on a big, big repo on a remote Windows server. 假设用户在远程Windows服务器上的一个大型仓库上启动了git pull It'll take several minutes to complete. 这需要几分钟才能完成。 I, another user altogether, remote into the same machine and navigate to that same folder. 我(另一个用户)完全远程到同一台计算机并导航到同一文件夹。 How can I tell if the other user's git pull is complete? 如何判断其他用户的git pull是否完成?

For context, this folder clones a remote repo to make files available for sharing from it like a CDN. 对于上下文,此文件夹克隆一个远程存储库,以使文件可以像CDN一样从中共享。 I'm not interested in sharing the machine with another programmer as part of my workflow. 作为工作流的一部分,我不愿意与另一位程序员共享机器。 I want to know if our file-share has finished updating. 我想知道我们的文件共享是否已完成更新。

Git is a distributed source control system. Git是一个分布式源代码控制系统。 The intended use here is for you to git clone the repo on your local machine and work from it. 这里的预期用途是让您在本地计算机上git clone库并从中工作。 As you finish pieces of work, you can git push to the server. 完成工作后,您可以git push到服务器。 Using a central repo where each developer works on a local one is very common with git. 在git中,通常使用在每个开发人员都在本地工作的中央仓库。 I suggest you do some research on different workflows that are used. 我建议您对使用的不同工作流程进行一些研究。

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

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