Why is git erroring with 'Assertion failed' on git add .?

后端 未结 4 1093
北荒
北荒 2021-02-02 12:32

I forked a repo, then cloned it to my Mac into a /YATC directory. I had a previously-created Xcode project (TwitterTimeline) in another directory, which I copied in

4条回答
  •  孤城傲影
    2021-02-02 12:53

    I got this problem too,Here is my way to fix this:

    1. delete the .git folder in the submodule folder(if you did this before, go 2)
    2. then excute follow command, directory is your submodule folder git rm --cached directory git add directory
    3. then you can upload this folder like others

提交回复
热议问题