Pregunta

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?

¿Fue útil?

Solución 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

Otros consejos

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" .
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top