[英]How to checkout git repo together with externals using svn
我已經使用svn
從https://github.com/GluuFederation/gluu-gateway/tags/v4.0.0
ie svn co URL
結帳問題是,有一個名為/third-party
的目錄,它具有外部 repo URLS'沒有被檢出。 我得到一個空白目錄。
我如何checkout
並確保/third-party
中的那些外部也已檢出?
謝謝你。
外部稱為git 子模塊,並在.gitmodules文件中進行管理。 我不知道是否有選項可以使用svn
檢出子模塊,但您可以使用以下git
命令來完成
git clone --recurse-submodules --branch v4.0.0 --depth=1 https://github.com/GluuFederation/gluu-gateway
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.