Unable to track files within Git submodules

前端 未结 3 1708
借酒劲吻你
借酒劲吻你 2020-11-29 20:12

Problem: to add files at ./shells/smallApps/* to Git at ./.git/ when I do not have the files at ./.git/info/exclude n

3条回答
  •  -上瘾入骨i
    2020-11-29 20:39

    I see you've got git add saying something about submodules. Do you have nested Git repositories? Do this:

    $ find . -name .git
    

    How many .git directories are listed? If there is more than one, then you've got multiple nested repositories and that could be a cause of some of this confusion.

提交回复
热议问题