Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I remove a file from SVN's ignore list, using the command-line?

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?

like image 490
thomas Avatar asked Sep 09 '10 18:09

thomas


People also ask

How do I delete a file from svn repository?

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…

How do I ignore a class file in svn?

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.

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.


2 Answers

Use the svn propdel command

Directory:

svn propdel svn:ignore .

Recursive:

svn propdel svn:ignore -R 
like image 36
Nix Avatar answered Oct 19 '22 19:10

Nix


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 .
like image 73
Julien Roncaglia Avatar answered Oct 19 '22 20:10

Julien Roncaglia