git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Move repository from OS X to Windows

From
Pascal Obry <pascal@obry.net>
Date
Nov 11, 2009, 15:53 UTC
Message-ID
<4AFADDE8.7080109@obry.net>
In-Reply-To
<4AFABCF8.9060601@syntevo.com>
Thomas,
> I've cloned a very large repository on OS X and want to move that to Windows
> (trying to avoid to clone the repository a second time). What steps should I
> do to make it working (currently, I'm getting an error on pull/merge that
> "Entry 'foo' is not uptodate. Cannot merge.")?
Is that a git-svn clone?

Otherwise I do not see why you avoid a second clone. Cloning from your windows machine the OSX repo won't be slower than cloning from the original repo? Or I missed something...

If you are speaking about a git-svn clone, I understand. In this case I generally I just rsync the .git directory from one machine to the other:

    $ mkdir project
    $ cd project
    $ rsync -a machine:/path/to/project/.git .
    $ git reset --hard HEAD
And you are done.
Pascal.
-- 
--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|    http://www.obry.net  -  http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B
Previous: Thomas SingerNext: David Aguilar
Message 2 of 3 in “Move repository from OS X to Windows”
  1. Thomas SingerNov 11, 2009
  2. Pascal ObryNov 11, 2009
  3. David AguilarNov 11, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.