I'm using Subversion on Unix-based systems.
In my current working directory, the subdirectory ./tmp
is managed by Subversion. I would like all contents under ./tmp
to be ignored by subversion.
To phrase it another way: When a user does svn checkout project/tmp
, I want them to have the directory ./tmp
in their directory. When that same user does svn stat
, I want svn to ignore their temporary files under ./tmp
without affecting other directories like ./doc
and ./foo
.
% svn stat
? foo/bar.tar.gz
? tmp/foo.example.org
? tmp/host.log
? tmp/getscript.vba
? doc/Manuals/Nagios
? doc/Manuals/3ware
? doc/Manuals/markdown
I know that global-ignores can be used to ignore patterns like global-ignores = *.o *.lo *.la *.al *.swp *old .Trash
, but can it ignore all files under a given directory? I have tried adding /tmp/*
tmp/*
*/tmp/*
to global-ignores to no avail.