Questions tagged [git-bundle]

44 questions
0
votes
0 answers

Can packfiles contain OBJ_REF_DELTA pointing to objects in the same pack?

The official documentation describes the format of packfiles to include 6 types of objects, i.e. Commit, Blob, Tree, Tag, OffsetDelta and RefDelta. OffsetDelta is clearly described as being defined in context of an object (which itself can be a…
ThePretendProgrammer
  • 1,449
  • 10
  • 16
0
votes
1 answer

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 the error and said I can pull the changes on the…
Kaisin Li
  • 514
  • 3
  • 7
  • 21
0
votes
1 answer

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.bundle --all The bundle gets created correctly but…
oh1man
  • 3
  • 2
0
votes
0 answers

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 : When I finish the development: git add, git…
kouhe3
  • 11
  • 5
0
votes
1 answer

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 git bundle create test.bundle main and want to…
Lemon_prog
  • 49
  • 4
0
votes
0 answers

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 repo: $ git bundle create /tmp/repo.bundle --all $…
maxisme
  • 3,974
  • 9
  • 47
  • 97
0
votes
1 answer

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 order to clone from the git bundle stored locally…
Harsh
  • 7
  • 4
0
votes
1 answer

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 # git bundle create B1 B..F B1: C --> D --> E B2: B --> C…
hultqvist
  • 17,451
  • 15
  • 64
  • 101
0
votes
0 answers

How can I push all branches from a Git bundle I received?

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. However I can't push the other branches. $ git clone…
Joe DiNottra
  • 836
  • 8
  • 26
0
votes
0 answers

Why can't git fetch from a git-bundle in the current working directory

Try this: Create a git-bundle like this: git bundle create trash1.bundle some_branch^^..some_branch Then try to fetch right back into the same git repo, but into a separate branch like this: git fetch ./trash1.bundle some_branch:some_branch.1 See…
bgoodr
  • 2,744
  • 1
  • 30
  • 51
0
votes
1 answer

How to bundle a branch

I am new to git and have done following setup: There is a repository on a server S. I cloned it to my machine A and add some changes in a branch. I just copied the repro from 2 to an usb-drive. Then walked over to machine B, which has no connection…
user9400869
0
votes
1 answer

git bundle with symbolic ref

I'm trying to share our git repo with an offsite development team. We do not have a "master" branch. We have A/master, B/master, and C/master. I have a symbolic ref in my pub repo HEAD -> refs/heads/B/master When I create the bundle git bundle…
EncryptedWatermelon
  • 4,788
  • 1
  • 12
  • 28
0
votes
1 answer

is `git bundle` suitable for making back-up copies?

I want a simple way to back up my git repos, so I'm considering git bundle. I am presently unable to confirm that I can recover the full content of a bundled branch(es) relying on a *.bundle file. I'm confused, because I notice talk about "deltas"…
gallygator
  • 377
  • 1
  • 4
  • 16
-2
votes
1 answer

How secure is GIT bundle

I have two identical repositories on two separated internet-less machines. The code is sensitive and cannot be exposed to the outside world (even not its diff). How secure is a git bundle file which contains only a delta update? I know that one…
nafarkash
  • 359
  • 6
  • 24
1 2
3