Svn is already under version control [How to Solve]

When svn ci, xx is already under version control appears, and then it cannot be submitted. The reason for this problem is that the file or directory you submitted is something from other SVN, that is, there are .svn directories underneath. You need to delete them before submitting. The specific operations are as follows:

Open the terminal, cd to the newly added directory, and then use the following command

#find . -mindepth 2 -name '.svn' -exec rm -rf '{}' \;

This command will delete all .svn folders in the directory recursively. Now, try submitting it again?

 

.svn can also be deleted directly

 

 

 

Similar Posts: