git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Move repository from OS X to Windows
@ 2009-11-11 13:32 Thomas Singer
  2009-11-11 15:53 ` Pascal Obry
  2009-11-11 17:08 ` David Aguilar
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Singer @ 2009-11-11 13:32 UTC (permalink / raw)
  To: git

Hi,

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.")?

Thanks in advance,
Tom

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Move repository from OS X to Windows
  2009-11-11 13:32 Move repository from OS X to Windows Thomas Singer
@ 2009-11-11 15:53 ` Pascal Obry
  2009-11-11 17:08 ` David Aguilar
  1 sibling, 0 replies; 3+ messages in thread
From: Pascal Obry @ 2009-11-11 15:53 UTC (permalink / raw)
  To: Thomas Singer; +Cc: git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Move repository from OS X to Windows
  2009-11-11 13:32 Move repository from OS X to Windows Thomas Singer
  2009-11-11 15:53 ` Pascal Obry
@ 2009-11-11 17:08 ` David Aguilar
  1 sibling, 0 replies; 3+ messages in thread
From: David Aguilar @ 2009-11-11 17:08 UTC (permalink / raw)
  To: Thomas Singer; +Cc: git

On Wed, Nov 11, 2009 at 02:32:40PM +0100, Thomas Singer wrote:
> Hi,
> 
> 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.")?


Check the git documentation for "core.filemode" and "core.autocrlf".

My guess is that you need to set core.filemode false.
If it's not that then look into core.autocrlf.


Good luck,

-- 
		David

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-11-11 17:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-11 13:32 Move repository from OS X to Windows Thomas Singer
2009-11-11 15:53 ` Pascal Obry
2009-11-11 17:08 ` David Aguilar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).