I'm running Linux, and I put some files into SVN's ignore list. Now I want to remove them. But, I need to use the command-line for this purpose, not some SVN client's built-in features. How can I do that?
To remove a file from a Subversion repository, change to the directory with its working copy and run the following command: svn delete file… Similarly, to remove a directory and all files that are in it, type: svn delete directory…
You can ignore a file or directory like . gitignore. Just create a text file of list of directories/files you want to ignore and run the code below: svn propset svn:ignore -F ignorelist.
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.
Use the svn propdel command
Directory:
svn propdel svn:ignore .
Recursive:
svn propdel svn:ignore -R
Using propedit
start the default text editor to edit a property, in this case it's the one named svn:ignore
:
svn propedit svn:ignore .
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