Modify the svn address of the project

Recently, the company changed the svn server, which led to the change of the svn url address. So share it with you.

 

1. If the svn client is installed, open the folder where the project is located, right-click tortoiseSVN--->switch , enter the new svn address

    Click Finish. Sometimes it prompts that the project is locked. At this time, you need to open the project and delete the svn address inside.

    tortoiseSVN-->clean up

2. Click Window--->Show Views-->Others ( maybe different versions open in different ways but roughly the same )-->Select the SVN repository view.

  Right-click the svn address, relocate the svn address, and then the item to be relocated will appear--->next

  

 Finish

 

3 (from an alias) open the file in C :\WINDOWS\system32\drivers\etc\hosts

   add on the last line

   172.21.40.99   svnserver

  After the above settings, the address of svn becomes http://svnserver/svn/, so if the address of svn changes in the future, you only need to modify the hosts file

 

Summarize:

The above three methods can complete the modification of the svn address. Personally, I think the last one is better, because even if there is an address change in the future, you only need to modify the file under C:\WINDOWS\system32\drivers\etc\hosts.

 

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326797665&siteId=291194637