问题描述
我在IDEA中有一个Android项目,并添加了一个测试模块。
这个模块是在App模块本身的目录中创建的。
因为我这样做了,IDEA认为'test'模块中的文件是在颠覆版本控制下。但是,我不知道为什么和如何,因为那里没有.svn目录,我什么也没做。我想将这个目录添加到我的整个项目的GIT中,但即使我使用GIT命令行工具添加了这些文件,但IDEA只给了我subversion命令。
当我尝试使用GIT添加文件时,我收到一条错误消息:
我现在不是真的接下来要做什么,所以任何帮助都会感激!
设置>中检查您的项目配置。版本控制。
这是您的目录/ vcs映射配置的地方。删除任何可能存在的SVN映射,并确保整个项目被映射到Git。
顺便说一句,我不知道这可能会发生。
I have an Android project in IDEA, and added a module for testing.This module is created within the directory of the App module itself.
Since I have done that, IDEA thinks that the files in the 'test' module are under subversion version control. However, I don't know why and how, as there wis no .svn directory, and I didn't do anything. I want to add this directory to my GIT of the whole project, but even though I added the files using the GIT command line tool, IDEA only gives me subversion commands.
When I try to add files using GIT I get a error message:
I don't really now what to do next, so any help is appreciated!
Check your project configuration in Settings > Version Control
.
This is where your directory/vcs mappings are configured. Remove any SVN mapping that could exists, and make sure that the whole project is mapped to Git.BTW, I don't know how this could have happened.
这篇关于IntelliJ IDEA认为我的项目的一部分是颠覆而不是混帐,如何解决这个问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!