Useful if you dont have a normal network

git bundle create ../tim.bundle master

 

Note: a bit like a remote.

Note: a bit like a zipped up remote.

 

 

More than one branches

git bundle create ../tim.bundle master feature_image feature_division

git bundke create ../tim.bundle master~5..master

 

git bundle list-heads tim.bundle

 

git ls-remote origin


You can read from it but not push.

git clone tim.bundle tim_stuff

 

git rev-parse HEAD

git rev-parse master

 

cat .git/HEAD

> asdfiuh787686wef8766

 

cat .git/refs/heads/master

> asdfiuh787686wef8766

 

git fetch ../tim.bundle master