46 questions
-2 votes
1 answer
99 views
Archiving entire git repo
I have to move servers and need a way to pack my git repo. All branches, tags and CI/CD pipeline. I have used git bundle in the past, but that only packs a single branch. Is there a way to pack,zip ...
1 vote
2 answers
222 views
Is it possible to create a git bundle of a revision range with minimal prerequisites that can be applied to a shallow clone?
The documentation for git-bundle states the following about git bundles of revision ranges: A revision range such as old..new will produce a bundle file that will require the revision old (and any ...
1 vote
1 answer
213 views
How to clone repository along with changes from bundle?
I have a git repository, and a git bundle file. I can checkout the repository, and apply the bundle on one machine. I would like to use this particular machine as a mirror for this repository, along ...
3 votes
1 answer
175 views
how can I create git bundle between 2 commits and include all the tag labels between them?
For example here I have some commits between v0.5.1 and v0.5.4: git log --pretty=oneline v0.5.1..v0.5.4 ec7a6416580276d2f9975802f487c1216dcc540d (tag: v0.5.4) Release v0.5.4 ...
0 votes
1 answer
43 views
Pulling remote master to a local repo cloned from a bundle
I have a local repo that I cloned from a bundle. I received the repo as a git bundle. After unbundling it and created my own branch, I noticed some bug on the code and notified the sender. They fixed ...
0 votes
1 answer
592 views
Why does git bundle not work in github action?
I have a github action workflow where I want to bundle my repository into a git bundle and then include it in a github release. The bundling is done with the command, git bundle create my-bundle....
0 votes
0 answers
133 views
Is it possible to upload the git bundle to Google Drive to keep development in sync?
I have some game project git folders. There are many binary files and audio files. The git repo is very large, so I want to use onedrive and google drive to sync my repo instead of GitHub. My plan : ...
1 vote
0 answers
109 views
Git - Comparing local bundle with remote repository using refs only
I've written an open-source app to clone remote repos from well-known Git hosting providers and create bundles from them, for backup purposes. Subsequent runs of the app re-clone, re-bundle, and ...
0 votes
1 answer
784 views
Git-Bundle creating a empty .bundle?
I have cloned a repository and created a local branch named main. After that I made some changes in the code, committed and wanted to create a .bundle with the commits. I generate the .bundle using ...
0 votes
0 answers
277 views
How to restore a backup of a git bundle repo while keeping the original remotes
In my repo directory /repo when running git branch --all I have: * foo bar baz remotes/origin/HEAD -> origin/develop remotes/origin/qux remotes/origin/quux I now backup and restore the ...
0 votes
1 answer
610 views
Cloning submodule from a git bundle using the .gitmodules file
I have bundled a repo and stored the repo.bundle file on my filesystem. I need to clone from this bundle as a submodule in another repo which currently has a .gitmodules file with the remote url. In ...
1 vote
1 answer
382 views
git bundle not moving 'git tag' information
I have a remote repo with tag names v3 and v4 $git tag v3 v4 I created a bundle for this remote repo with.. git bundle create repo.bundle --all When updating local repo with bundle information... ...
0 votes
1 answer
432 views
Partial pull from git bundle
I'm trying to pull a subset of a git bundle into a repo. Setup Starting with this repo. R1: A --> B --> C --> D --> E --> F I've created these git bundles # git bundle create B1 C..E # ...
0 votes
0 answers
51 views
How can I push all branches from a Git bundle I received? [duplicate]
I got a Git bundle (client.bundle) with several branches that I need to import in my project. I was able to import a single branch by cloning it locally, changing the remote URL and pushing it. ...
2 votes
1 answer
3k views
Importing git bundle into gitlab
I've created a git bundle out of my repo and I'm trying to import it to gitlab. I've tried the API via curl command which gives me the error Error importing repository into root/api-project - No ...