restoring all branches from a bundle
Dear List,
I created a dump from a repository. git bundle list-heads prints all the refs I meant to add. The problem is that after exracting the dump with git bundle unbundle the target repository doesn't contain any branches (git branch -a prints nothing). How can we exract a dump so that the branches are also restored?
Thanks in advance,
Ákos Tajti
Quoted 7 lines · Tajti
Dear List,
I created a dump from a repository. git bundle list-heads prints all the refs I meant to add. The problem is that after exracting the dump with git bundle unbundle the target repository doesn't contain any branches (git branch -a prints nothing). How can we exract a dump so that the branches are also restored?
I think "git fetch /path/to/the/bundle <refspec>" does that. --
Duy