My project references a plug-in I wrote myself. When submitting on the windows client of github, it prompts:
What should I do to submit?
巴扎黑2017-05-02 09:42:41
Method 1
Delete your VistorUserCenter directory
Enter the project root directory
Run git submodule add the git address of your vistor plug-in src/zb_users/plugin/VistorUserCenter
Method 2
Delete the .git directory under VistorUserCenter
The reason for this situation is that the submodule was not added correctly.
Is there a .gitmodules file in the project root directory? The general content inside should be like this:
[submodule "src/zb_users/plugin/VistorUserCenter"]
path = src/zb_users/plugin/VistorUserCenter
url = https://github.com/xxx/VistorUserCenter
There should be no .git directory in the src/zb_users/plugin/VistorUserCenter directory