> On Behalf Of Konstantin Khomoutov
> On Fri, 12 Feb 2016 08:20:46 -0800 (PST)
> Birdy <sssbi...@gmail.com> wrote:
> > I am working on a project in which I change to different computers. I
> > have installed git on each of them. One of the computers I work on
> > has a very unreliable internet connections. What is the preferred
> > approach to making sure that I have the latest repository for a
> > project and I have no internet connection?
> The `git bundle` command and a flash drive.

I also have project that I transfer between systems, very much on a sneakernet 

Here are a couple of example command. For the first I would initially checkout 
master, and then do the fetch from the bundle created on the other system and 
copied via memstick. Note how I've ended up with just using the one wip branch 
for transfer, and then have two variants (upper/lower case) between them - the 
later was more accident than design!

Philip@House-PC MINGW64 ~/Documents/<proj> (wip)
$ git fetch 11Feb16.bundle WIP:wip

Having done some extra work on the wip branch I can then bundle it back up

Philip@House-PC MINGW64 ~/Documents/<proj> (wip)
$ git bundle create 8Feb16.bundle --since=10.weeks wip

Sometimes I also include the --all option to get all the branches, though you 
get warnings about old branches which don't make the date cut-off. The --all is 
good for the initial bundle.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to