remove git submodule but keep files

前端 未结 2 1033
甜味超标
甜味超标 2020-12-07 22:53

I have a git submodule that I would like to become part of my main project (since I have a lot of project specific code that will go into the submodule).

So I\'d li

2条回答
  •  春和景丽
    2020-12-07 23:13

    The answer from VonC will delete the submodule folder contents unless you rename the physical folder first - as shown in this answer, whose question was noted to be a duplicate by Chad:

    https://stackoverflow.com/a/16162228

提交回复
热议问题