git分支数限制

编程入门 行业动态 更新时间:2024-10-14 12:20:12
本文介绍了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分支数限制

本文发布于:2023-11-30 03:43:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1648605.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:支数   git

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!