Question

I'm trying to ignore .jpg but it is not working.

I write the command for

svn propset svn:ignore *.jpg

I want to ignore jpg file.

Any idea how to proceed?

Was it helpful?

Solution 2

I suspect you want it ignored in just a single repository, in that case @borrible's answer is the correct one. Just in case you want an alternative, if you want .jpg files ignored globally, you can do it in the file

~/.subversion/config

In that file, you can add the value to global-ignores;

global-ignores = *.jpg

OTHER TIPS

You need to quote the *.jpg part of your command otherwise your shell will expand it before it gets passed to svn, add a path and get it to recurse to your subdirectories if necessary.

svn propset -R svn:ignore "*.jpg" .
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top