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

前端 未结 6 591
迷失自我
迷失自我 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:09

    It seems that now (in 2019) installing latest GIT client could solve the problem according to comments below. This should be the best solution for now.


    I have the same problem as you. This is a bug in git: http://git.661346.n2.nabble.com/BUG-git-submodule-update-is-not-fail-safe-td7574168.html

    In short, for your problem, try:

    # rm -rf external_libraries/BEACHhtml
    # git submodule update
    

    It seems there is something wrong with the previous checkout folder, remove it, and update again solves the problem.

提交回复
热议问题