扫码关注官方订阅号
我的项目中引用了我自己写的一个插件,在github的windows客户端提交时提示:
请问我该怎么做才能提交呢?
方法一删除你的VistorUserCenter目录进入项目根目录运行git submodule add 你的vistor插件的git地址 src/zb_users/plugin/VistorUserCenter方法二删除VistorUserCenter下的.git目录
出现这种情况的原因是没有正确添加submodule吧,项目根目录下是否有.gitmodules文件?里面大致内容应该是这样的:
[submodule "src/zb_users/plugin/VistorUserCenter"] path = src/zb_users/plugin/VistorUserCenter url = https://github.com/xxx/VistorUserCenter
还有src/zb_users/plugin/VistorUserCenter目录下应该没有.git目录
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
方法一
删除你的VistorUserCenter目录
进入项目根目录
运行git submodule add 你的vistor插件的git地址 src/zb_users/plugin/VistorUserCenter
方法二
删除VistorUserCenter下的.git目录
出现这种情况的原因是没有正确添加submodule吧,
项目根目录下是否有.gitmodules文件?里面大致内容应该是这样的:
还有src/zb_users/plugin/VistorUserCenter目录下应该没有.git目录