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

后端 未结 4 1095
北荒
北荒 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 13:02

    The only way i was able to get around this error, after

    • Deleting the .git folder
    • git deinit
    • git rm
    • going over these links git fatal pathspec submodule , deleting local repo , assert failed in submodule

    was to rename directory and then add it again.

提交回复
热议问题