Git 吉特和豆茎

Git 吉特和豆茎,git,synchronization,sync,amazon-elastic-beanstalk,beanstalk-svn,Git,Synchronization,Sync,Amazon Elastic Beanstalk,Beanstalk Svn,我正在试验Git。。。我发现Beanstalkapp适合我的需要 我在Beanstalk上为每个客户机创建了单独的存储库,然后从工作的机器中推送所有文件 我已经为每个客户端创建了存储库,我的Beanstalk帐户现在如下所示: Client One (repository)<br> --a load of files and folders<br> Client Two (repository)<br> --a load of files and folder

我正在试验Git。。。我发现Beanstalkapp适合我的需要

我在Beanstalk上为每个客户机创建了单独的存储库,然后从工作的机器中推送所有文件

我已经为每个客户端创建了存储库,我的Beanstalk帐户现在如下所示:

Client One (repository)<br>
--a load of files and folders<br>
Client Two (repository)<br>
--a load of files and folders<br>
Client Three (repository)<br>
--a load of files and folders
我现在需要在一台新机器上复制它

如何将文件“拉”到git并镜像到另一台机器上的结构??我想我在这里寻找同步

提前感谢您的建议


M

您应该让每个Beanstalk客户端都成为一个客户端。 您只需声明:

每个客户的git回购 在所有当前客户端的父目录中创建一个git repo,并将客户端的每个git repo作为子模块引用。 然后,您可以克隆父回购,并取回其中的所有客户。

谢谢你的帮助。我最终到达了那里
**GIT(root)**
  Client One (repository)
    --a load of files and folders
  Client Two (repository)
    --a load of files and folders
  Client Three (repository)
    --a load of files and folders