git无法从远程存储库读取
Hello again! By this point we are pretty sure that you know enough about the Git basics and can handle your own repositories pretty easily. This is fine if you are the only one working on your project. You can commit your changes, create and merge branches to keep your repository clean.
再次问好! 至此,我们非常确定您对Git基础知识了解足够,并且可以轻松处理自己的存储库。 如果您是唯一在项目上工作的人,那很好。 您可以提交更改,创建和合并分支以保持存储库整洁。
But we are still missing out on something. What if you are not the only one working on the project? *Gasp! * Don't worry, we are here to teach how to work with remote repositories. What is a remote repository, you ask? Well consider this...
但是我们仍然缺少某些东西。 如果您不是唯一从事此项目的人,该怎么办? *喘气! *不用担心,我们在这里教如何使用远程存储库。 您问什么是远程存储库? 好吧考虑一下...
You are currently working on your awesome project and decide to bring in somebody who can help out and work alongside you. But...but...they can't work in your repository, they need access to it on their own machine. They can create a copy of the repository and continue working. This process is called Cloning
. So now, you are both doing well, you're committing often, using branches etc. but on different machines. So how do we bring all that work together?
您目前正在开展出色的项目,并决定请一些可以提供帮助的人与您一起工作。 但是...但是...它们无法在您的存储库中工作,他们需要在自己的计算机上对其进行访问。 他们可以创建存储库的副本并继续工作。 此过程称为Cloning
。 所以现在,你们俩都做得不错,经常使用分支等在不同的机器上进行提交。 那么我们如何将所有工作整合在一起?
Much like you merge branches, you can also merge repositories. Some people prefer to stick to the decentralized nature of Git, while some prefer to host the repository on a central server elsewhere.
就像合并分支一样,您也可以合并存储库。 有些人喜欢坚持Git的分散性,而有些人则喜欢将存储库托管在其他地方的中央服务器上。
We'll learn more about remote repositories in the coming chapters. When you are working on a large project, you have to share your progress with others. This is achieved by using remote repositories. Let's move on to the next chapter and start working with remote repositories.
在接下来的章节中,我们将学习有关远程存储库的更多信息。 在处理大型项目时,必须与他人共享进度。 这是通过使用远程存储库来实现的。 让我们继续下一章,开始使用远程存储库。
git无法从远程存储库读取