Why do I get “fatal: git status --porcelain failed”?

前端 未结 13 1959
星月不相逢
星月不相逢 2020-12-09 07:39

This is a huge pain in the bum. I\'ve got this a few times before and I don\'t understand why. 5 mins ago the repo was fine and working, I move some files around (which is a

13条回答
  •  心在旅途
    2020-12-09 08:27

    In case it helps anyone else, I just encountered the same issue and found that running git init in the project root fixed it.

提交回复
热议问题