Which file does svn:ignore modify?

筅森魡賤 提交于 2020-01-11 10:57:23

问题


I would like to know which file svn propset svn:ignore modifies (equivalent to .gitignore) so that I can actually commit that file to the repo.

E.g. I am working with Java and Maven, which creates a directory named "target", which I am ignoring. svn propset svn:ignore target . does work but I don't know which settings file is modifies by that command so that I propagate the change to my team.

RELATED: SVN ignore like .gitignore


回答1:


svn:ignore property is stored together with other properties inside the .svn folder. It will be stored in the repository automatically after your next commit. If you want to commit only svn:ignore change without commiting other "normal" files you can try:

svn commit --depth=empty .

The value of svn:ignore can be checked with svn propget svn:ignore.



来源:https://stackoverflow.com/questions/39087166/which-file-does-svnignore-modify

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!