Ignoring Files In SVN

There is a method for ignoring files in an svn via their svn:ingore tool. For those who use windows w/ TortoiseSVN, it has a really slick interface for handling it all. However, for those of us (like me) who are on a Mac and just use the command line, I always forget the commands. So here is my note to myself on how to do it:

First, navigate to the folder I want to edit it’s ignore settings.

Second, execute the command: svn propedit svn:ignore .

(don’t forget the period)

It will then open up a text editor. You put one match pater (or filename) per line. Save and exit, and your svn properties will have been changed. You then need to commit your change, and you’re good.

Now, I won’t forget. If you follow my blog, you might have noticed a trend of myself putting simple things I don’t do frequently here. It seems I have a terrible memory, and it makes is easy for me to find things on my blog again. Hopefully, just maybe, it will help someone else out there too.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close