Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subversive: how to add to svn ignore

I am using Subversive and I have the same question as Subclipse svn:ignore, but the solution did not work for me. Anyone knows how to add to svn:ignore files already added to a project with Sobversive?

If I delete it and create it again, there is a red exaclamation ('!') icon and I am not able to add it to svn:ignore

like image 764
de3 Avatar asked Jun 06 '11 10:06

de3


People also ask

How do I ignore bin and obj folder in svn?

If you right click on a single unversioned file, and select the command TortoiseSVN → Add to Ignore List from the context menu, a submenu appears allowing you to select just that file, or all files with the same extension.

How do I ignore target folder in svn?

To ignore files in subversion you want to set the svn:ignore property. You can see more here http://svnbook.red-bean.com/en/1.8/svn.advanced.props.special.ignore.html about half way down. svn propset svn:ignore target . svn propedit svn:ignore .

How do I add a folder to svn repository?

Right Click the new repo and choose SVN Repo Browser. Right click 'trunk' Choose ADD Folder... and point to your folder structure of your project in development. Click OK and SVN will ADD your folder structure in.

How do I commit changes in svn?

Select any file and/or folders you want to commit, then TortoiseSVN → Commit.... The commit dialog will show you every changed file, including added, deleted and unversioned files. If you don't want a changed file to be committed, just uncheck that file.


1 Answers

You must delete the file and commit the deletion. Then you can re-add the file, and put it under svn:ignore.

like image 193
Michael Spector Avatar answered Oct 19 '22 13:10

Michael Spector