导入的项目在运行时idea右下角总是出现Invalid VCS root mapping The directory x:\xxx is registered as a Git root, but no Git repositories were found there.(如图)
此时可以:
方法一:单击提示上的“Configure”,
方法二:打开File–>Settings–>Version Control
选中并删除报红的路径,点击应用后重启Idea即可。
导入的项目在运行时idea右下角总是出现Invalid VCS root mapping The directory x:\xxx is registered as a Git root, but no Git repositories were found there.(如图)
此时可以:
方法一:单击提示上的“Configure”,
方法二:打开File–>Settings–>Version Control
选中并删除报红的路径,点击应用后重启Idea即可。