gpt4 book ai didi

git - 从多个 git bundle 文件创建 repo

转载 作者:行者123 更新时间:2023-12-03 17:47:46 25 4
gpt4 key购买 nike

我收到了多个 git bundle 文件,并希望将所有这些文件 merge 到一个存储库中。

我知道命令 git clone myfile.bundle将从捆绑文件中创建一个 repo,然后我可以将其与所有其他文件 merge 在一起,但我想知道是否有一种组合多个捆绑文件的方法。

最佳答案

假设所有包都来自同一个 git repo,你可以像从远程仓库 pull 一样从它们中 pull

git pull bundle-file branch
确保按顺序 pull 它们,否则您将收到有关缺少开始提交的错误消息。

关于git - 从多个 git bundle 文件创建 repo,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29767804/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com