需要在git-archive中处理git-submodules [英] Need to handle git-submodules in git-archive

查看:116
本文介绍了需要在git-archive中处理git-submodules的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在使用 git-archive 创建的tarball中打包git子模块。

I need to pack git submodules inside of tarball which I create with git-archive.

我看到在1.6.5 git-archive 不支持git子模块。

I see that in 1.6.5 git-archive does not support git submodules.

我看到几个脚本来处理这种情况在网上,但我不知道哪一个挑。

I see several scripts to handle this case in the net, but I'm not sure which one to pick.

什么是最好的/最正式的方式来做到这一点?

What is the best / most official way to do this?

推荐答案

您可以尝试我的脚本 http://github.com/Kentzo/git-archive-all

编辑:

对于可通过自制软件获得的Mac OS X用户: brew info git-archive-all

For Mac OS X users available via homebrew: brew info git-archive-all

这篇关于需要在git-archive中处理git-submodules的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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