Questions tagged [git-bundle]

44 questions
75
votes
2 answers

How to use git-bundle for keeping development in sync?

I need to keep my development trees in sync on different computers, with no network connection between them. We have a central git repository, and I normally work on my own clone on my office computer. Sometimes I need to do some development on…
matli
  • 27,922
  • 6
  • 37
  • 37
24
votes
2 answers

how to open a .bundle file

I received .bundle file in my gmail. I was told that it was a git bundle file. I tried to open it in sublime and I got a bunch of what seemed to have looked like hex values. It is suppose to be instructions for a code challenge. I have a mac. Any…
user3266824
  • 1,233
  • 2
  • 14
  • 27
11
votes
2 answers

Commits in a git bundle

Hy! Is there a way to get a list of all commits stored in a git bundle without cloning it first? Getting the heads is easy, but I couldn't find a way to get a full log out of it.
mat
  • 1,645
  • 15
  • 36
9
votes
1 answer

How to unbundle a git bundle?

I just received a Git bundle via email. How do I unbundle it in order to read it? I am having trouble using the unbundle command. I have tried git unbundle *bundle name* but that gives me just a weird code eae0b00697e53cd87c871143051673f3ee413148…
James Hennessy
  • 397
  • 6
  • 14
8
votes
1 answer

Git format-patch/bundle for human-readable sneakernet "pull/push"

I have two rooms in which I maintain some source code using git, a "dev" room where most development happens and a "deploy" room in which we actually use the software. Inevitably some changes happen in the deploy room as well. I'd like both rooms…
L. Robison
  • 151
  • 1
  • 9
6
votes
1 answer

Bundle git repository without cloning it

How can I bundle a git project without cloning it every time? Right now I do always commands below. git clone --mirror http://git_project cd git_project git bundle create '../git_project.lock' --all cd .. rm git_project -Force -Recurse I want to do…
H. Pauwelyn
  • 13,575
  • 26
  • 81
  • 144
6
votes
1 answer

Create repo from multiple Git bundle files

I have received multiple Git bundle files and would like to combine all them into one repository. I know that the command git clone myfile.bundle will create a repo from the bundle file which I could then merge together with all the other files. Is…
dmanners
  • 2,062
  • 1
  • 18
  • 24
5
votes
1 answer

How to archive a git repository which uses LFS?

I'm looking to archive a git repository to a regular file server for a client. Previously I've used git bundle create [path] --all to do this and it's worked well. However this repository is using Git LFS, and the LFS files aren't included in the…
mattbilson
  • 558
  • 2
  • 5
  • 15
4
votes
1 answer

Git pull bundle file gives 'fatal: Couldn't find remote ref HEAD'

I'm posting a self-answer because I know some of my colleagues will be googling this soon. We sometimes need to distribute bundle files which are baselined on master and hence only contain the particular branches explicitly included when it was…
TamaMcGlinn
  • 2,840
  • 23
  • 34
4
votes
2 answers

Git Bundle with LFS

I'm needing to bundle a git repo that we've been using git-lfs on but have run into an issue. It will bundle up fine but when I come to clone it this error occurs Downloading .../Dll's/DotNetZip.dll (458 KB) Error downloading object: …
A. Yeats
  • 89
  • 2
  • 7
4
votes
1 answer

Cloning git bundle over http(s)

Is it possible to clone git bundle over http? When I try to do this i got: $ git clone http://127.0.0.1:8888/repo.bundle Cloning into 'repo.bundle'... fatal: repository 'http://127.0.0.1:8888/repo.bundle/' not found The reason to do that is to…
Adrian Krupa
  • 1,877
  • 1
  • 15
  • 24
4
votes
2 answers

git bundle: two-way all branches sync between local and remote repo

Machine A has Internet connection while machine B does not. Both have local repository and machine A can interact with Github. Development happens on both the machines. git-bundle is being used to keep the repositories in sync. Usual flow of…
subba
  • 1,625
  • 2
  • 16
  • 18
3
votes
0 answers

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 64b2b14d3123c619db5bbfac718c579e8daa8da8 fix: decoding nested dicts with…
Wang
  • 7,250
  • 4
  • 35
  • 66
3
votes
2 answers

Error trying to create a git bundle ranged between 2 commits

I am trying to create a bundle file from commit x to commit y. As specified on git bundle's documentation the arguments have to be "acceptable to git rev-parse and git rev-list ..., that specifies the specific objects and references to transport"…
Anika
  • 398
  • 5
  • 23
3
votes
1 answer

git bundle create

I am using git version 1.7.10.msysgit.1. I have a working directory in which I have cloned from many repositories. However, now I want to transfer my changes only for a single repo. How do I create a bundle for only one folder in my working tree…
Shunya
  • 2,785
  • 2
  • 18
  • 17
1
2 3