亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

git - 如何提交帶有Submodule的專案?
phpcn_u1582
phpcn_u1582 2017-05-02 09:40:41
0
1
794

我的專案中引用了我自己寫的一個插件,在github的windows客戶端提交時提示:

請問我該怎麼做才能提交呢?

phpcn_u1582
phpcn_u1582

全部回覆(1)
巴扎黑

方法一
刪除你的VistorUserCenter目錄
進入專案根目錄
運行g(shù)it submodule add 你的vistor插件的git位址 src/zb_users/plugin/VistorUserCenter
方法二
刪除VistorUserCenter

出現(xiàn)這種情況的原因是沒有正確添加submodule吧,

項目根目錄下是否有.gitmodules檔?裡面大致內(nèi)容應(yīng)該是這樣的:

[submodule "src/zb_users/plugin/VistorUserCenter"]
    path = src/zb_users/plugin/VistorUserCenter
    url = https://github.com/xxx/VistorUserCenter
還有src/zb_users/plugin/VistorUserCenter目錄下應(yīng)該沒有.git目錄

最新下載
更多>
網(wǎng)站特效
網(wǎng)站源碼
網(wǎng)站素材
前端模板