如何将 svn 文件夹从一个位置移动到另一个位置
How to move a svn folder from one location to another
我在另一个名为 'Folder2' 的文件夹中有一个文件夹 'Folder3'。
现在我想将 'Folder3' 切换到 'Folder2' 的并行位置。
示例:
Current:../Folder1/Folder2/Folder3
Desired:../Folder1/Folder3
我想将 Folder3 移动到上面提到的带有提交历史记录的所需路径。
您不想使用 svn switch
. That updates the project to use a different URL. You use switch
to move between branches (similar to a checkout
). What you want to do is actually move files around and then commit your changes, since you are changing file locations. For that you want to use svn move
然后 commit
您的更改。
我在另一个名为 'Folder2' 的文件夹中有一个文件夹 'Folder3'。 现在我想将 'Folder3' 切换到 'Folder2' 的并行位置。
示例:
Current:../Folder1/Folder2/Folder3
Desired:../Folder1/Folder3
我想将 Folder3 移动到上面提到的带有提交历史记录的所需路径。
您不想使用 svn switch
. That updates the project to use a different URL. You use switch
to move between branches (similar to a checkout
). What you want to do is actually move files around and then commit your changes, since you are changing file locations. For that you want to use svn move
然后 commit
您的更改。