I did some testing with this...
When I'm finished with "git fetch usb", there are no files in my
repository when I run "ls". It says [new branch] master --> usb/
Should I just "git checkout usb/master" ?? I get some errors when I do
git checkout usb/master
warning: You appear to be on a branch yet to be born.
warning: Forcing checkout of usb/master.
Note: moving to "usb/master" which isn't a local branch
If you want to create a new branch from this checkout, you may do so
(now or later) by using -b with the checkout command again. Example:
git checkout -b <new_branch_name>
HEAD is now at 71ca13f.
On Sep 23, 12:35 pm, "William S." <[EMAIL PROTECTED]>
> Ok, I'll try this one out!!
> It's not a big repository, so I'd like to transfer the whole
> repository first and then just push the changes. (Like you have
> mentioned here)
> On Sep 23, 12:20 pm, Petr Baudis <[EMAIL PROTECTED]> wrote:
> > On Tue, Sep 23, 2008 at 12:16:30PM +0200, William Str?msvold wrote:
> > > So I should just clone my work-repository on to my USB-drive (FAT32), and
> > > when I come home, I clone from my USB-drive on to my Home-computer?? And
> > > later on, use pulling to update the different repositories?
> > I did
> > git --git-dir=f:/bla.git init --bare
> > git remote add usb f:/bla.git
> > git push --all usb
> > ...
> > git push usb
> > on machine X and
> > git remote add usb /media/disk/bla.git
> > git fetch usb
> > ...
> > on machine Y.
> > > Isn't is smarter to pull from my work repository on to the USB-drive,
> > > instead of pushing?
> > > What is then the benefit of using "git bundle"?
> > If storing full repository on the USB flash is impractical and you want
> > to transfer around just the changes, or if you're transferring the
> > changes by some other medium (e.g. email).
> > --
> > Petr "Pasky" Baudis
> > The next generation of interesting software will be done
> > on the Macintosh, not the IBM PC. -- Bill Gates
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To post to this group, send email to email@example.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at