简体   繁体   English

Android Studio将项目从Eclipse移至SVN

[英]Android Studio move project from Eclipse to SVN

I have been developing an Android project on Eclipse and have used SVN with tortoise to backup the project. 我一直在Eclipse上开发一个Android项目,并使用带有乌龟的SVN来备份该项目。

I have recently moved to Android Studio and imported the project from Eclipse. 我最近搬到了Android Studio,并从Eclipse导入了该项目。 I have also made extensive edits in Android Studio. 我还在Android Studio中进行了广泛的编辑。

Now I want to use SVN on Intellij. 现在我想在Intellij上使用SVN。 I have looked for help on setting up SVN on Intellij and committing the updated files. 我一直在Intellij上设置SVN并提交更新文件方面寻求帮助。

I have not been able to find basic help on doing this. 我还没有找到执行此操作的基本帮助。 What I have found is information that assumes you know all there is to know on SVN, setting up Intellij and committing edits. 我发现的信息是假定您了解SVN,设置Intellij并进行编辑的全部知识。 My knowledge is scratchy so any help would be appreciated. 我的知识很y草,因此将不胜感激。

You can enable Subversion integration in Settings | 您可以在“设置” |“启用”中启用Subversion集成。 Version Control. 版本控制。 Once you do that, you will see the list of the files you've modified in the Changes view (you can use VCS | Show Changes View to display it easily). 完成此操作后,您将在“更改”视图中看到已修改文件的列表(可以使用VCS |“显示更改视图”轻松显示它)。 From there, you commit changes by selecting specific files or an entire changelist and invoking the "Commit Changes" action from the context menu. 在此处,您可以通过选择特定文件或整个更改列表并从上下文菜单中调用“提交更改”来提交更改。

You can find a basic introduction on working with version control in IntelliJ IDEA here . 你可以找到在IntelliJ IDEA的版本控制工作的基本介绍这里

If you have made changes in a directory which was not controlled by Subversion, then you need to check out your Subversion repository to a separate clean directory (VCS | Check out from version control | Subversion, see here for more details), then copy the changed state of your project to the directory you've checked out (overwriting all the files there). 如果您在不受Subversion控制的目录中进行了更改,则需要将Subversion存储库检出到单独的干净目录(VCS |从版本控制中检出| Subversion, 请参见此处以了解更多详细信息),然后复制将项目的状态更改为已签出的目录(覆盖那里的所有文件)。 Then you'll be able to commit your changes as described above. 然后,您将能够如上所述进行更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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