Alex Rivera | Logout

How to do svn ignore on a single file?

Asked 2010-04-28T22:04:07.070
9

I know it's a basic question but I've tried every combination of propedit propset, etc.

In an existing project, there's a file (let's call it 'error.log) I want to ignore for all future commits. What's the command-line syntax to do so?

svn
Edit
Report

1 Answer

14

Go to the directory of the error-log file and type

svn propedit svn:ignore .

An editor will open and you need to add a line with the file name error.log. Save and exit the editor. Commit the changes.

answered 2010-04-28T22:12:22.620

Your Answer