threads / discuss / 30915

git-bundle behaves unexpected with submodules

Subject: git-bundle behaves unexpected with submodules

## tl;dr

One message between Jun 27, 2012 and Jun 27, 2012.

replies: 0people: 1as markdown or json

Naja Melan· Jun 27, 2012, 14:47 UTC · lore
I am the author of a script: https://github.com/najamelan/git-backup
I am using git bundle to back up git repositories. In recent versions of git the repository metadata of a submodule are stored in .git/modules of the parent repository.
When git-bundle is ran in a submodule, it creates a bundle of the parent repo, omitting the information from the submodule, thus effectively not backing it up.
Anyone who can shed light on this?

thanx in advance naja

← back to recent threads