tags:

views:

98

answers:

1

I am using git archive with --remote option to archive multiple gits ,are located under one folder. I want to include those folder names of four gits and if .gitattributes is available in those gits that should also be taken care during the archive.

With git archive --worktree-attributes --prefix=source --remote command I didn't get the expected output.

How do I achieve this archive ?

+1  A: 

You could use a similar script than git-archive-all, which builds an archive file(s) of all git repositories and submodules in a current local path.
It needs to be completed to take into account a remote path.

VonC