How do I move a file (or folder) from one folder to another in TortoiseSVN?

前端 未结 10 783
死守一世寂寞
死守一世寂寞 2020-12-22 15:25

I would like to move a file or folder from one place to another within the same repository without having to use Repo Browser to do it, and without creating two independent

相关标签:
10条回答
  • 2020-12-22 15:43

    svn move — Move a file or directory.

    http://svnbook.red-bean.com/en/1.0/re18.html

    0 讨论(0)
  • 2020-12-22 15:43

    Use Tortoise's RENAME command, and type in a relative path ("folder/file.ext").

    0 讨论(0)
  • 2020-12-22 15:47

    As mentioned earlier, you'll create the add and delete commands. You can use svn move on both your working copy or the repository url. If you use your working copy, the changes won't be committed - you'll need to commit in a separate operation.

    If you svn move a URL, you'll need to supply a --message, and the changes will be reflected in the repository immediately.

    0 讨论(0)
  • 2020-12-22 15:50

    To move a file or set of files using Tortoise SVN, right-click-and-drag the target files to their destination and release the right mouse button. The popup menu will have a SVN move versioned files here option.

    Note that the destination folder must have already been added to the repository for the SVN move versioned files here option to appear.

    0 讨论(0)
提交回复
热议问题