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
Gitlab exports repositories to tar archive which contains .bundle files.
We have repo.bundle file and we want to restore files from it.
git clone --mirror myrepo.bundle my.git
/** Generates UUID v4 | |
* | |
* @node There is a bug in Chrome's Math.random() according to http://devoluk.com/google-chrome-math-random-issue.html | |
* For that reason we use Date.now() as well. | |
*/ | |
function UUID() { | |
function s(n) { return h((Math.random() * (1<<(n<<2)))^Date.now()).slice(-n); } | |
function h(n) { return (n|0).toString(16); } | |
return [ | |
s(4) + s(4), s(4), |