有用的命令吗?
在Mac OS X上,删除整个目录层次中所有.svn目录的最佳方法是什么?
原标题:
最佳回答
在工作副本文件夹的根目录下,执行以下操作:
svn export --force .
问题回答
find . -name .svn -type d -print0 |xargs -0 rm -rf
只需从Subversion存储库中进行导出。
对于支持它的系统:
find . -name .svn -delete
或者,如果它们不支持-delete开关:
find . -name .svn -exec rm -rf {} ;
Open Terminal window. Go to your project folder and drag folder into Terminal window. Now you can find your folder s path. Run below command
find . -type d -name .svn -exec rm -rf {} ;
所有的.svn文件夹将被删除,你可以将新的代码上传到svn中。
在您的文件夹中键入以下命令。
find . -name .svn -type d -print0 |xargs -0 rm -rf
相关问题
热门标签
- winforms
- combobox
- fogbugz
- java
- date
- internationalization
- asp.net
- iis
- url-rewriting
- urlrewriter
- c#
- enums
- ocaml
- haxe
- algorithm
- string
- viewstate
- .net
- c++
- c
- symbol-table
- mysql
- database
- postgresql
- licensing
- migration
- vb.net
- vb6
- declaration
- vb6-migration
- python
- psycopg2
- backup
- vmware
- virtualization
- gnu-screen
- authentication
- desktop
- excel
- xll
- cultureinfo
- regioninfo
- oracle
- client
- session
- download
- html
- virtual
- constructor
- scenarios
- perl
- full-text-search
- javascript
- ajax
- testing
- oop
- inheritance
- vim
- encapsulation
- information-hiding