我可以将Git工作副本复制到另一台机器上吗? [英] Can I copy a Git working copy onto another machine?

查看:132
本文介绍了我可以将Git工作副本复制到另一台机器上吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用'git svn clone'从SVN服务器创建Git工作副本。但是这需要相当长的时间(我们有> 20.000转和几乎10.000个文件)。我还有其他一些机器(对于其他开发人员),我想以同样的方式进行设置。是否有可能将生成的文件从第一台机器复制到其他机器上,以便花费更少的时间?

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?

换句话说,Git工作副本中是否有任何内容它绑定到创建的机器上?

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

谢谢。

推荐答案

您可以复制它,所有内容都位于.git文件夹中,并且不依赖于其他任何内容。

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

这篇关于我可以将Git工作副本复制到另一台机器上吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆