Move repository from OS X to Windows

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

Move repository from OS X to Windows

From: Thomas Singer <hidden>
Date: 2016-06-15 22:47:42

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

Re: Move repository from OS X to Windows

From: Pascal Obry <hidden>
Date: 2016-06-15 22:47:42

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

Re: Move repository from OS X to Windows

From: David Aguilar <hidden>
Date: 2016-06-15 22:47:42

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help