出于各种原因,我想在git 之上构建一个大型系统,但主要是为了方便.
I am musing about building a big system on top of git for various reasons but mainly convenience.
但是,作为实现的一部分,我最终将创建数百万个分支,并在它们之间进行分支和合并. git真的可以这样缩放吗?我总是听到分支是免费的",但我想知道这是否真的是x1,000,000? git可以实际创建理论上无限数量的分支吗?
But as part of the implementation I would end up making millions of branches and branching and merging between them. Can git actually scale this way? I always hear "Branches are free" but I have to wonder if this is really true x1,000,000? Can git actually create a theoretical unlimited number of branches?
推荐答案是的,分支是免费的.分支和合并非常容易.
Yes, branches are free. Branching and merging is very easy.
前面提到的可伸缩性问题仅在通过网络同步大量分支(git fetch,git pull,git push)时出现.在本地,您应该没有任何问题.
The scalability issues mentioned before comes only when synchronizing a vast amount of branches through the network (git fetch, git pull, git push). Locally you shouldn't have any problem.
更多推荐
git分支数限制
发布评论