I have a PHP project set up in Eclipse with SVN support. Now, Eclipse adds its project files .buildpath and .project to the project and Subclipse wants to add it to the repository.
Now I could just use svn:ignore to let SVN ignore the files, but that's not an option for various reasons. So, is there a way to make Eclipse and Subclipse ignore the files (which it should anyway)?
Use the following command to create a list not under version control files. Then edit the file to leave just the files you want actually to ignore. Then use this one to ignore the files listed in the file: svn propset svn:ignore -F ignoring.
Set the svn:ignore property of the parent directory: svn propset svn:ignore dirname . If you have multiple things to ignore, separate by newlines in the property value.
Process. Select the project root folder and select Team > Disconnect from the context menu. A dialog is presented asking if you want to remove the SVN meta information from the file system. If you want to reconnect to the remote repository at a later time, choose Do not delete the SVN meta information.
Use: svn pg -R svn:ignore . See Stack Overflow question How do I view all ignored patterns set with svn:ignore recursively in an SVN repository? This shows the relative path with all files ignored by SVN in a working copy of a folder structure.
Preferences
> Team
> Ignored Resources
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With