Git Submodules. Pulling into a new clone of the super-project

前端 未结 6 633
迷失自我
迷失自我 2021-01-30 03:35

OK. So I thought I had this licked ... but now ....

I have a project which includes one small library from GitHub as a submodule. In the original version of that super-p

6条回答
  •  情深已故
    2021-01-30 04:34

    use a diff tool to compare the original clone that's working and this one. Also, what does git submodule output. Ensure you are pointing to the same branch in each repo before you do.

    I'm suspecting that you've switched to a branch or older revision where the submodule was not defined.

    hope this helps

提交回复
热议问题