English 中文(简体)
SVN:如何将一只双管子的内容移至另一倍器
原标题:SVN: how to move the contents of a folder into another folder
  • 时间:2011-04-21 21:44:27
  •  标签:
  • svn
  • copy
  • move

我如何把内容(档案)放在一个文件夹(A)中,转成另一个文件夹(B),而没有复制(B)目前的内容?

Folder A
 - file 1
 - file 2
 - file 3

Folder B
 - file 4
 - file 5
 - file 6

我最后结果如下:

Folder A
 - empty

Folder B
 - file 1
 - file 2
 - file 3
 - file 4
 - file 5
 - file 6
最佳回答
svn move foldera/file*.ext folderb
svn commit -m "move all files in foldera to folderb" .

http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.move.html

如果您在目标名录中有相同的档案名称,这些档案就会超写。 你们不得不检查并发出正确无误的移动指挥(或多处)。 这在你的地方司工作,以便你在检查结果之前能够检查结果。 如果你使用斜体,而不是在你的工作复印件中走一条路,就立即实施。

问题回答

暂无回答




相关问题
Best practices for Subversion and Visual Studio projects

I ve recently started working on various C# projects in Visual Studio as part of a plan for a large scale system that will be used to replace our current system that s built from a cobbling-together ...

Changing username in SVN+SSH URI on the fly in working copy

I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...

ASP.NET MVC: How should it work with subversion?

So, I have an asp.net mvc app that is being worked on by multiple developers in differing capacities. This is our first time working on a mvc app and my first time working with .NET. Our app does not ...

How to search for file in subversion server?

Is there a way to search for a file in a subversion repository? Something similar to Unix find command, with which I can find the location of a file in a repository. I know there is svn list, but ...

热门标签