Restore git submodules from .gitmodules

前端 未结 7 588
粉色の甜心
粉色の甜心 2020-12-02 04:47

I have a folder, which was a git repo. It contains some files and .gitmodules file. Now, when I do git init and then git submodule init, the latter

相关标签:
7条回答
  • 2020-12-02 05:41

    I had a similar issue. git submodule init was failing silently.

    When I did:

    git submodule add <url> <path>

    I got:

    The following path is ignored by one of your .gitignore files: ...

    I'm thinking that .gitignore(d) paths might be the cause.

    0 讨论(0)
提交回复
热议问题