I would like to export in tar a full project with all its branches using git and bitbucket. Is it possible to do that ?
Thank you very much !
I would like to export in tar a full project with all its branches using git and bitbucket. Is it possible to do that ?
Thank you very much !
So you wanna say I have to do a git clone and then using the command tar
As torek comments, git clone --mirror
+ git bundle create repo.bundle --all
is the official way to create one file from a repository, with all its history and branch.
Doing it without cloning would means setting up a remote action on the repository hosting service itself, like GitHub Actions on a GitHub repository, in order to build that archive on each new commit.
That has not been done yet, as far as I can see.