ANDROID STUDIO 3.0升级:GIT和SUBVERSION

Naw*_*rez 4 svn git android android-studio android-studio-3.0

我最近 :

  • 将我的Android Studio升级到3.0稳定频道

  • 结帐我的项目在SVN上主持,并且6个月前在git上.

    我的IDE正在读取项目,因为它在git而不是在SVN上=>我想将它与git断开连接并仅在SVN上提交更改.

REM:当它在Android Studio 2.3稳定通道上时,我没有遇到这种情况

xan*_*der 7

您应该能够更改./.idea/vcs.xml文件中的版本控制设置:

<project version="4">
  <component name="VcsDirectoryMappings">
    <mapping directory="$PROJECT_DIR$" vcs="Git" />
  </component>
</project>
Run Code Online (Sandbox Code Playgroud)

将Git更改为SVN并在IDE中重新加载项目.我不确定您是否可以在IDE设置中更改该设置,但这应该是一个简单的更改.

您也可以尝试简单地删除".git"子目录.