How to replace a branch in subversion?

I never used branching until yesterday, so I did not know that I had to make a branch our trunk. Thus, I branched out a subfolder, and this caused some side effects, such as accidentally switching the trunk to a branch ... this led to overwriting the chest with the subfolder and deleting everything else inside the trunk = ruining my working copy; /

Now I am in a situation where I want to redefine this problematic branch with my working copy. How can this be done? I am using Tortoise SVN.

+1
source share
1 answer

:
svn switch TrunkURL .

svn remove URL, , . svn switch branchURL .

TortoiseSVN:

  • Rightclick , "" Switch. , .
  • Tortoise SVN Repo, . .
  • , Copy to...
  • Switch . .

, , SVN. .

+6

Source: https://habr.com/ru/post/1530280/


All Articles