开发者

Is the ignored-setting in svn for files and folders only locally?

If i add local files and/ or folders to be ignored by svn, is this set开发者_Go百科ting valid only for my local checkout of the repository, or does it become a global setting for the whole repository?


It isn't valid for just your local checkout.

The properties you set using svn propset will be set for the directory you specify. For example, to set the ignore property for a directory you've checked out:

    svn propset svn:ignore .project /path/to/directory/in/working/copy

svn status should show property changes with an '_'. svn commit to commit your property changes to the repository.


It becomes a setting for the directory you have set the ignore in, once you have checked in.

ie. If you ignore .settings in the docs folder, then .settings in the docs folder will not be committed on checkin. If you ignore .s* in the docs folder then all .s* files will be ignored in the docs folder.

You need to commit for others to see the change to the ignore settings.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜