Skip to content

Instantly share code, notes, and snippets.

@lgt
lgt / readme.md
Created November 12, 2022 13:54 — forked from maxivak/readme.md
Restore repo from Gitlab bundle file

Gitlab exports repositories to tar archive which contains .bundle files.

We have repo.bundle file and we want to restore files from it.

  • create bare repo from bundle file
git clone --mirror myrepo.bundle my.git
// Example 1 this does not work
$this->addJs(
'/plugins/kakuki/immotemp/assets/dist/vendors.js',
'/plugins/kakuki/immotemp/assets/dist/index.js'
);
// Example 2 in this case I have just the last injected
$this->addJs('/plugins/kakuki/immotemp/assets/dist/vendors.js');
$this->addJs('/plugins/kakuki/immotemp/assets/dist/index.js');