使用idea工具进行开发,有时需要使用github  有时又需要svn那如何进行切换它们呢(Idea选择了git就没有了svn,相反也是),解决方法很简单:

 修改项目下.idea目录的vcs.xml配置文件。 

 <?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="VcsDirectoryMappings">
    <mapping directory="" vcs="Git" />
  </component>
</project>

Git修改成svn即可完成切换(重启idea即可)。
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐