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 help would be very appreciated!
Asked
Active
Viewed 2.1k times
24

BuZZ-dEE
- 6,075
- 12
- 66
- 96

user3266824
- 1,233
- 2
- 14
- 27
2 Answers
33
I needed to initialize the Git repository and add master
to the end of pull as shown below:
git init
git pull file.bundle master

BuZZ-dEE
- 6,075
- 12
- 66
- 96

user3266824
- 1,233
- 2
- 14
- 27
15
git clone file.bundle targetdir
Or
git pull /tmp/file.bundle REFNAME

sehe
- 374,641
- 47
- 450
- 633
-
1when I try the git clone method I get this result in the terminal: warning: remote HEAD refers to nonexistent ref, unable to checkout. – user3266824 Jan 15 '15 at 01:24
-
@user3266824 that means it's not a selfcontained bundle. Pull into an existing clone that has the parent ref – sehe Jan 15 '15 at 01:34