Can I copy a Git working copy onto another machine?

Xavier Nodet picture Xavier Nodet · Jan 11, 2010 · Viewed 21.1k times · Source

I am in the process of creating a Git working copy from our SVN server with 'git svn clone'. But this takes quite some time (we have > 20.000 revs and almost 10.000 files). I have some other machines (for other developers) that I would like to setup the same way. Will it be possible to copy the resulting files from the first machine onto others, so as to spend less time?

In other words, is there anything in a Git working copy that ties it to the machine it was created on?

Thanks.

Answer

Arkaitz Jimenez picture Arkaitz Jimenez · Jan 11, 2010

You can copy it, everything is inside the .git folder and is not dependant on anything else.