Re: [git-users] Transfer to another computer when offline --- how?

2016-02-12 Thread Konstantin Khomoutov
On Fri, 12 Feb 2016 08:20:46 -0800 (PST)
Birdy  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.

-- 
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.


Re: [git-users] Transfer to another computer when offline --- how?

2016-02-12 Thread John McKown
On Fri, Feb 12, 2016 at 11:14 AM, Konstantin Khomoutov <
flatw...@users.sourceforge.net> wrote:

> On Fri, 12 Feb 2016 08:20:46 -0800 (PST)
> Birdy  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.
>

​Yeah. I have a 114G SanDisk flash drive which is almost as small as my
thumb nail.​ It fits in my wallet with no problem.

-- 
The man has the intellect of a lobotomized turtle.

Maranatha! <><
John McKown

-- 
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.


[git-users] Transfer to another computer when offline --- how?

2016-02-12 Thread Birdy
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?

-- 
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.


RE: [git-users] Transfer to another computer when offline --- how?

2016-02-12 Thread Philip Oakley
> On Behalf Of Konstantin Khomoutov
> On Fri, 12 Feb 2016 08:20:46 -0800 (PST)
> Birdy  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 
basis.

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/ (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/ (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.
--
Philip


-- 
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.