Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经从 github 签出了代码。然后我去了版本控制>启用版本控制集成。我选择了 git。然后我收到错误“无效的 git root”。为什么我会收到此错误?
我正在使用 msysgit 1.7.1 和 phpstorm 2.1。
是否涉及子模块?这通常是出现此错误的原因。从命令行您可以检查是否是问题所在:
git submodule update --init --recursive
希望这可以帮助。