Restore git submodules from .gitmodules

前端 未结 7 591
粉色の甜心
粉色の甜心 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

    I got:

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

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

提交回复
热议问题