颠覆忽略导入文件?
是否可以在初始导入之前设置颠覆属性?
我正准备将 Web CMS 导入新存储库。它有目录 sites/default/files
,其文件是用户生成的,我不希望它们出现在存储库中。所以我试图事先设置该属性,但看起来我不能,因为显然它不是存储库。
$sites/default/files> svn propset svn:ignore '*' .
svn: '.' is not a working copy
如何在忽略某些文件夹的情况下进行导入?
Is it possible to set a subversion property before the initial import has taken place?
I'm getting ready to import a web CMS into a new repository. It has the directory sites/default/files
, whose files are user-generated, and I don't want them in the repository. So I'm trying to set up the property beforehand, but it looks like I can't, because obivously, it's not a repository.
$sites/default/files> svn propset svn:ignore '*' .
svn: '.' is not a working copy
How do I do the import with it ignoring certain folders?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根本不可能。导入不带文件夹的文件夹树。
Simply not possible. Import the folder tree without the files folder.