git分支数限制 [英] Limit on number of git branches

查看:142
本文介绍了git分支数限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

出于各种原因,我想在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分支数限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆