配置svn忽略 node_modules等文件

我要冲啦个人网站建设2023-07-31服务器

实现一个类似.gitignore对git忽略的功能,注意.gitignore只对git生效,对svn不生效

1.在项目空白的地方右键,选中svn中的属性 properties

2.弹出界面,点击新建 new,选中高级 other,

3.弹出界面,Property name 选择 svn:global-ignores(对全局生效)

svn:ignores(对当前生效)

4.在Property value 中输入要忽略的文件夹名称(一行输入一个目录)勾选 Apply property recursively ,点击 ok 按钮即可。

文章关键词
svn
忽略文件夹
node_modules