开发者

Why is svn:ignore ignored?

开发者 https://www.devze.com 2023-01-27 04:14 出处:网络
I just ran svn add myfolder/* To add all the files in there to my repo. It added the .pyc files too. I\'m looking at my svn:ignore now and it says:

I just ran

svn add myfolder/*

To add all the files in there to my repo. It added the .pyc files too. I'm looking at my svn:ignore now and it says:

*.pyc
*~

Should that not have prevented those file开发者_运维知识库s from being checked in?


No, it should not. svn:ignore prevents files from being shown in the svn status. But if you're adding the files explicitly - then svn will add them, of course.

http://svnbook.red-bean.com/nightly/en/svn.advanced.props.special.ignore.html

0

精彩评论

暂无评论...
验证码 换一张
取 消