簡體   English   中英

Git和Beanstalk

[英]Git and Beanstalk

我正在嘗試Git ...我發現Beanstalkapp適合我的需求。

我已經在Beanstalk上為EACH客戶端創建了單獨的存儲庫,然后從工作中的計算機推送了所有文件。

我已經為每個客戶端創建了存儲庫,並且我的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(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

我現在需要在新計算機上復制它!

如何“下拉”文件(git)並鏡像另一台計算機上的結構? 我想我正在這里尋找同步?

在此先感謝您的任何建議!

中號

您應該將每個Beanstalk客戶端都設置為git子模塊
您只需聲明:

  • 每個客戶一個git回購
  • 所有當前客戶端的父目錄中的一個git repo,並將客戶端的每個git repos作為子模塊引用。

然后,您可以克隆父存儲庫,並取回其中的所有客戶端。
可能需要其他克隆

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM