Alexander Gladysh
Alexander Gladysh

Reputation: 41493

Need to handle git-submodules in git-archive

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

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?

Upvotes: 15

Views: 3875

Answers (1)

Kentzo
Kentzo

Reputation: 3993

You can try my script http://github.com/Kentzo/git-archive-all

EDIT:

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

Upvotes: 7

Related Questions