简体   繁体   中英

phpstorm “invalid git roots”

I have checked out code from github. I have then gone to Version Control > Enable version control integration. I have selected git. I then get the error "invalid git root". Why could I be getting this error?

I am using msysgit 1.7.1 and phpstorm 2.1.

Are submodules involved? This is usually why this error shows up. From the command line you can check if that's the issue:

git submodule update --init --recursive

Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM