问题
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