创建束
束是变更集包。要通过存储库的内容创建束,可以使用 git bundle 命令。例如, git bundle create dmp.bundle master branch-v1 HEAD 将创建一个名为 dmp.bundle 的束,其中包含 masterbranch-v1 分支。可以使用 git bundle create 列出 git show-refs 可接受的引用名称。需要包含 HEAD 才能使用该束。您还可以利用:
git bundle create dmp.bundle --all
有关更多选项,请参阅 Git-bundle 手册
这对您有帮助吗?