The company svn address has been changed, and the ip has been changed. There is still code not submitted locally. Here is how to modify it to a new address in IDEA or svn, and then the code can be submitted directly. There are also articles on the Internet, but a key point is not indicated in it, which has caused many people to fail to modify it. So here comes this article.
Modify the svn address under IDEA
- Modify the method, in the idea
右键项目
, and then findSubversion
the followingrelocate
. Just modifyto URL
the address in it. As shown below
.svn
For the project opened by idea, there must be a folder under the project directory , which is the most important thing. You may have pulled down all the files directly, but idea only opened the code project. At this time, you are not in the.svn
same directory. This means that the project you opened is not the local root directory, and the modification is unsuccessful at this time. The root directory needs to be opened.
Modify directly under local svn
- Find
.svn
the root directory of the local project, right-click to find the svnrelocate
modification. Note that it must be in.svn
the root directory with