Ignore files in a subversion working copy

To ignore files in your subversion working directory, try this.

[dan@dev-ingress01:~/scripts]: $ svn st
 M      .
?       helper_scripts
?       show-config.sh
?       test-categories.pl
?       test-new-xml-code-single.sh
?       test-new-xml-code-starting-from.sh

I want to ignore all those files, so:

$ svn st > .IgnoreThese

Then I edit the file, so only the file names are shown. Something like this:

helper_scripts
show-config.sh
test-categories.pl
test-new-xml-code-single.sh
test-new-xml-code-starting-from.sh

Then tell subversion to ignore that list of files.

$ svn propset svn:ignore -F .ignoreThese .
property 'svn:ignore' set on '.'

Now I get:

$ svn st
 M      .

Good enough for me.

If you modifying the file, you need to run the propset command again.

Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive

Leave a Comment

Scroll to Top