using svn:ignore

I’d used the svn:ignore property in my repository for the first time not long ago so I wouldn’t have to keep wading through status lists that included a billion lines that started with a ?. The way I initially set it was by using the -F option and passing a list of files to ignore. What I didn’t understand how to do was easily ignore just one more folder or something without having to re-set it all.

I found this nice blog post that explains it so simply and so easily by means of example. The basic gist of it is, go to the directory that contains what you want to ignore and run the following command:

svn propedit svn:ignore .

This will open up the same editor with which you edit commit messages, and you can add whatever file patterns you want.

Thanks Joe!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: